1 7 8 package java.util; 9 10 58 public interface NavigableSet<E> extends SortedSet <E> { 59 71 E lower(E e); 72 73 85 E floor(E e); 86 87 99 E ceiling(E e); 100 101 113 E higher(E e); 114 115 121 E pollFirst(); 122 123 129 E pollLast(); 130 131 136 Iterator <E> iterator(); 137 138 153 NavigableSet <E> descendingSet(); 154 155 161 Iterator <E> descendingIterator(); 162 163 198 NavigableSet <E> subSet(E fromElement, boolean fromInclusive, 199 E toElement, boolean toInclusive); 200 201 228 NavigableSet <E> headSet(E toElement, boolean inclusive); 229 230 257 NavigableSet <E> tailSet(E fromElement, boolean inclusive); 258 259 268 SortedSet <E> subSet(E fromElement, E toElement); 269 270 279 SortedSet <E> headSet(E toElement); 280 281 290 SortedSet <E> tailSet(E fromElement); 291 } 292 | Popular Tags |