Java集合框架(七):SortedSet 源码分析

文章目录 1、SortedSet 简述 2、SortedSet 类图 3、SortedSet 方法 4、SortedSet 方法示例 5、注意事项 1、SortedSet 简述 SortedSet 接口扩展了 Set 接口并提供了元素的排序功能。 插入到有序集中的所有元素必须实现Comparable接口(或者被指定的Comparator接受),并且所有这些元素必须是可相互比较的,比如:e1.com
相关文章
相关标签/搜索