K
- The key type.V
- The value type.@NotThreadSafe public abstract static class ListNavigableMap.Abstract<K,V> extends ListMap.Abstract<K,V> implements ListNavigableMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
ListNavigableMap.Abstract<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Abstract(NavigableMap<K,List<V>> map)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
Map.Entry<K,List<V>> |
ceilingEntry(K key) |
K |
ceilingKey(K key) |
Comparator<? super K> |
comparator() |
NavigableSet<K> |
descendingKeySet() |
NavigableMap<K,List<V>> |
descendingMap() |
Map.Entry<K,List<V>> |
firstEntry() |
K |
firstKey() |
Map.Entry<K,List<V>> |
floorEntry(K key) |
K |
floorKey(K key) |
SortedMap<K,List<V>> |
headMap(K toKey) |
NavigableMap<K,List<V>> |
headMap(K toKey,
boolean inclusive) |
Map.Entry<K,List<V>> |
higherEntry(K key) |
K |
higherKey(K key) |
Map.Entry<K,List<V>> |
lastEntry() |
K |
lastKey() |
Map.Entry<K,List<V>> |
lowerEntry(K key) |
K |
lowerKey(K key) |
protected void |
mapReplaced(Map<K,List<V>> map)
Called when the Map is replaced.
|
NavigableSet<K> |
navigableKeySet() |
Map.Entry<K,List<V>> |
pollFirstEntry() |
Map.Entry<K,List<V>> |
pollLastEntry() |
NavigableMap<K,List<V>> |
subMap(K fromKey,
boolean fromInclusive,
K toKey,
boolean toInclusive) |
SortedMap<K,List<V>> |
subMap(K fromKey,
K toKey) |
SortedMap<K,List<V>> |
tailMap(K fromKey) |
NavigableMap<K,List<V>> |
tailMap(K fromKey,
boolean inclusive) |
add, clear, clone, containsKey, containsValue, entrySet, get, getAll, getFirst, getLast, isEmpty, keySet, put, put, remove, removeFirst, removeLast, size, values
add, getAll, getFirst, getLast, put, removeFirst, removeLast
public Comparator<? super K> comparator()
public NavigableSet<K> descendingKeySet()
public NavigableSet<K> navigableKeySet()
public NavigableMap<K,List<V>> subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive)
protected void mapReplaced(Map<K,List<V>> map)
This may be overridden by subclass as needed.
mapReplaced
in class ListMap.Abstract<K,V>
map
- The Map.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.