1 7 8 package java.util; 9 10 67 public interface NavigableMap<K,V> extends SortedMap <K,V> { 68 81 Map.Entry <K,V> lowerEntry(K key); 82 83 95 K lowerKey(K key); 96 97 110 Map.Entry <K,V> floorEntry(K key); 111 112 124 K floorKey(K key); 125 126 139 Map.Entry <K,V> ceilingEntry(K key); 140 141 153 K ceilingKey(K key); 154 155 168 Map.Entry <K,V> higherEntry(K key); 169 170 182 K higherKey(K key); 183 184 191 Map.Entry <K,V> firstEntry(); 192 193 200 Map.Entry <K,V> lastEntry(); 201 202 209 Map.Entry <K,V> pollFirstEntry(); 210 211 218 Map.Entry <K,V> pollLastEntry(); 219 220 235 NavigableMap <K,V> descendingMap(); 236 237 251 NavigableSet <K> navigableKeySet(); 252 253 267 NavigableSet <K> descendingKeySet(); 268 269 303 NavigableMap <K,V> subMap(K fromKey, boolean fromInclusive, 304 K toKey, boolean toInclusive); 305 306 333 NavigableMap <K,V> headMap(K toKey, boolean inclusive); 334 335 362 NavigableMap <K,V> tailMap(K fromKey, boolean inclusive); 363 364 373 SortedMap <K,V> subMap(K fromKey, K toKey); 374 375 384 SortedMap <K,V> headMap(K toKey); 385 386 395 SortedMap <K,V> tailMap(K fromKey); 396 } 397 | Popular Tags |