protected static class BTreeMap.DescendingMap<K,V> extends AbstractMap<K,V> implements ConcurrentNavigableMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
protected K |
hi |
protected boolean |
hiInclusive |
protected K |
lo |
protected boolean |
loInclusive |
protected BTreeMap<K,V> |
m |
| Constructor and Description |
|---|
BTreeMap.DescendingMap(BTreeMap<K,V> m,
K lo,
boolean loInclusive,
K hi,
boolean hiInclusive) |
clone, equals, hashCode, putAll, toString, valuesprotected final K lo
protected final boolean loInclusive
protected final K hi
protected final boolean hiInclusive
public boolean containsKey(Object key)
containsKey in interface Map<K,V>containsKey in class AbstractMap<K,V>public int size()
public boolean isEmpty()
public boolean containsValue(Object value)
containsValue in interface Map<K,V>containsValue in class AbstractMap<K,V>public void clear()
public V putIfAbsent(K key, V value)
putIfAbsent in interface ConcurrentMap<K,V>public boolean remove(Object key, Object value)
remove in interface ConcurrentMap<K,V>public boolean replace(K key, V oldValue, V newValue)
replace in interface ConcurrentMap<K,V>public Comparator<? super K> comparator()
comparator in interface SortedMap<K,V>public Map.Entry<K,V> higherEntry(K key)
higherEntry in interface NavigableMap<K,V>public Map.Entry<K,V> ceilingEntry(K key)
ceilingEntry in interface NavigableMap<K,V>public Map.Entry<K,V> floorEntry(K key)
floorEntry in interface NavigableMap<K,V>public K ceilingKey(K key)
ceilingKey in interface NavigableMap<K,V>public Map.Entry<K,V> lowerEntry(K key)
lowerEntry in interface NavigableMap<K,V>public Map.Entry<K,V> firstEntry()
firstEntry in interface NavigableMap<K,V>public Map.Entry<K,V> pollFirstEntry()
pollFirstEntry in interface NavigableMap<K,V>public Map.Entry<K,V> pollLastEntry()
pollLastEntry in interface NavigableMap<K,V>public BTreeMap.DescendingMap<K,V> subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive)
subMap in interface ConcurrentNavigableMap<K,V>subMap in interface NavigableMap<K,V>public BTreeMap.DescendingMap<K,V> headMap(K toKey, boolean inclusive)
headMap in interface ConcurrentNavigableMap<K,V>headMap in interface NavigableMap<K,V>public BTreeMap.DescendingMap<K,V> tailMap(K fromKey, boolean inclusive)
tailMap in interface ConcurrentNavigableMap<K,V>tailMap in interface NavigableMap<K,V>public BTreeMap.DescendingMap<K,V> subMap(K fromKey, K toKey)
public BTreeMap.DescendingMap<K,V> headMap(K toKey)
public BTreeMap.DescendingMap<K,V> tailMap(K fromKey)
public ConcurrentNavigableMap<K,V> descendingMap()
descendingMap in interface ConcurrentNavigableMap<K,V>descendingMap in interface NavigableMap<K,V>public NavigableSet<K> navigableKeySet()
navigableKeySet in interface ConcurrentNavigableMap<K,V>navigableKeySet in interface NavigableMap<K,V>public NavigableSet<K> keySet()
public NavigableSet<K> descendingKeySet()
descendingKeySet in interface ConcurrentNavigableMap<K,V>descendingKeySet in interface NavigableMap<K,V>Copyright © 2015. All Rights Reserved.