K
- V
- @StoreNotUseStandardSerialization @StorableClass public class PTreeMap<K,V> extends PAbstractMap<K,V> implements NavigableMap<K,V>, Cloneable, Serializable
Modifier | Constructor and Description |
---|---|
|
PTreeMap() |
|
PTreeMap(boolean concurrentAccess) |
|
PTreeMap(Comparator<K> comparator) |
|
PTreeMap(Comparator<K> comparator,
boolean concurrentAccess) |
protected |
PTreeMap(IInstanceFactory instanceFactory) |
protected |
PTreeMap(IInstanceFactory instanceFactory,
boolean concurrentAccess) |
protected |
PTreeMap(IInstanceFactory instanceFactory,
Comparator<K> comparator) |
protected |
PTreeMap(IInstanceFactory instanceFactory,
Comparator<K> comparator,
boolean concurrentAccess) |
protected |
PTreeMap(IInstanceFactory instanceFactory,
Map<? extends K,? extends V> map) |
protected |
PTreeMap(IInstanceFactory instanceFactory,
Map<? extends K,? extends V> map,
boolean concurrentAccess) |
protected |
PTreeMap(IInstanceFactory instanceFactory,
SortedMap<K,? extends V> map) |
protected |
PTreeMap(IInstanceFactory instanceFactory,
SortedMap<K,? extends V> map,
boolean concurrentAccess) |
|
PTreeMap(Map<? extends K,? extends V> map) |
|
PTreeMap(Map<? extends K,? extends V> map,
boolean concurrentAccess) |
|
PTreeMap(SortedMap<K,? extends V> map) |
|
PTreeMap(SortedMap<K,? extends V> map,
boolean concurrentAccess) |
containsValue, equals, hashCode, isEmpty, putAll, toString
public PTreeMap()
protected PTreeMap(IInstanceFactory instanceFactory)
public PTreeMap(boolean concurrentAccess)
protected PTreeMap(IInstanceFactory instanceFactory, boolean concurrentAccess)
public PTreeMap(Comparator<K> comparator)
protected PTreeMap(IInstanceFactory instanceFactory, Comparator<K> comparator)
public PTreeMap(Comparator<K> comparator, boolean concurrentAccess)
protected PTreeMap(IInstanceFactory instanceFactory, Comparator<K> comparator, boolean concurrentAccess)
protected PTreeMap(IInstanceFactory instanceFactory, Map<? extends K,? extends V> map)
protected PTreeMap(IInstanceFactory instanceFactory, Map<? extends K,? extends V> map, boolean concurrentAccess)
protected PTreeMap(IInstanceFactory instanceFactory, SortedMap<K,? extends V> map)
protected PTreeMap(IInstanceFactory instanceFactory, SortedMap<K,? extends V> map, boolean concurrentAccess)
public static PTreeMap newInstance(IInstanceFactory instanceFactory)
public static PTreeMap newInstance(IInstanceFactory instanceFactory, boolean concurrentAccess)
public static PTreeMap newInstance(IInstanceFactory instanceFactory, Comparator comparator)
public static PTreeMap newInstance(IInstanceFactory instanceFactory, Comparator comparator, boolean concurrentAccess)
public static PTreeMap newInstance(IInstanceFactory instanceFactory, Map map)
public static PTreeMap newInstance(IInstanceFactory instanceFactory, Map map, boolean concurrentAccess)
public static PTreeMap newInstance(IInstanceFactory instanceFactory, SortedMap map)
public static PTreeMap newInstance(IInstanceFactory instanceFactory, SortedMap map, boolean concurrentAccess)
public void addListerner(IMapListener<K,V> listener)
addListerner
in interface IMapListenable<K,V>
public void removeListener(int listenerIdentifier)
removeListener
in interface IMapListenable<K,V>
public int getIdentifier()
getIdentifier
in interface ICollectionListener<Map.Entry<K,V>>
public void notifyAdded(Map.Entry<K,V> added)
notifyAdded
in interface ICollectionListener<Map.Entry<K,V>>
public void notifyRemoved(Map.Entry<K,V> removed)
notifyRemoved
in interface ICollectionListener<Map.Entry<K,V>>
public int size()
public boolean containsKey(Object key)
containsKey
in interface Map<K,V>
public Comparator<? super K> comparator()
comparator
in interface SortedMap<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 K pollFirstKey()
public Map.Entry<K,V> pollLastEntry()
pollLastEntry
in interface NavigableMap<K,V>
public K pollLastKey()
public Map.Entry<K,V> lowerEntry(K key)
lowerEntry
in interface NavigableMap<K,V>
public Map.Entry<K,V> floorEntry(K key)
floorEntry
in interface NavigableMap<K,V>
public Map.Entry<K,V> ceilingEntry(K key)
ceilingEntry
in interface NavigableMap<K,V>
public K ceilingKey(K key)
ceilingKey
in interface NavigableMap<K,V>
public Map.Entry<K,V> higherEntry(K key)
higherEntry
in interface NavigableMap<K,V>
public NavigableSet<K> navigableKeySet()
navigableKeySet
in interface NavigableMap<K,V>
public NavigableSet<K> descendingKeySet()
descendingKeySet
in interface NavigableMap<K,V>
public Collection<V> values()
public NavigableMap<K,V> descendingMap()
descendingMap
in interface NavigableMap<K,V>
public NavigableMap<K,V> subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive)
subMap
in interface NavigableMap<K,V>
public NavigableMap<K,V> headMap(K toKey, boolean inclusive)
headMap
in interface NavigableMap<K,V>
public NavigableMap<K,V> tailMap(K fromKey, boolean inclusive)
tailMap
in interface NavigableMap<K,V>
public void setTreeSet(IPNavigableTreeSet<Map.Entry<K,V>> treeSet)
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.