TreeSet有序集合

122 阅读1分钟

核心方法

  1. ceiling:下一个大于等于的元素
  2. higer:下一个大于的元素
  3. floor: 下一个小于等于的元素
  4. lower: 下一个小于的元素