K
- V
- @StoreNotUseStandardSerialization @StorableClass public class PMapKeyNavigableSet<K,V> extends PAbstractSet<K> implements NavigableSet<K>, Serializable
Modifier | Constructor and Description |
---|---|
protected |
PMapKeyNavigableSet(IInstanceFactory instanceFactory,
NavigableMap<K,V> navigableMap) |
|
PMapKeyNavigableSet(NavigableMap<K,V> navigableMap) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(K element) |
K |
ceiling(K key) |
void |
clear() |
Comparator<? super K> |
comparator() |
Iterator<K> |
descendingIterator() |
NavigableSet<K> |
descendingSet() |
K |
first() |
K |
floor(K key) |
SortedSet<K> |
headSet(K toKey) |
NavigableSet<K> |
headSet(K toKey,
boolean inclusive) |
K |
higher(K key) |
Iterator<K> |
iterator() |
K |
last() |
K |
lower(K key) |
static PMapKeyNavigableSet |
newInstance(IInstanceFactory instanceFactory,
NavigableMap navigableMap) |
K |
pollFirst() |
K |
pollLast() |
int |
size() |
NavigableSet<K> |
subSet(K fromKey,
boolean fromInclusive,
K toKey,
boolean toInclusive) |
SortedSet<K> |
subSet(K fromKey,
K toKey) |
SortedSet<K> |
tailSet(K fromKey) |
NavigableSet<K> |
tailSet(K fromKey,
boolean inclusive) |
equals, hashCode, removeAll
addAll, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString
public PMapKeyNavigableSet(NavigableMap<K,V> navigableMap)
protected PMapKeyNavigableSet(IInstanceFactory instanceFactory, NavigableMap<K,V> navigableMap)
public static PMapKeyNavigableSet newInstance(IInstanceFactory instanceFactory, NavigableMap navigableMap)
public int size()
public K ceiling(K key)
ceiling
in interface NavigableSet<K>
public Iterator<K> descendingIterator()
descendingIterator
in interface NavigableSet<K>
public NavigableSet<K> descendingSet()
descendingSet
in interface NavigableSet<K>
public K floor(K key)
floor
in interface NavigableSet<K>
public NavigableSet<K> headSet(K toKey, boolean inclusive)
headSet
in interface NavigableSet<K>
public K higher(K key)
higher
in interface NavigableSet<K>
public K lower(K key)
lower
in interface NavigableSet<K>
public K pollFirst()
pollFirst
in interface NavigableSet<K>
public K pollLast()
pollLast
in interface NavigableSet<K>
public NavigableSet<K> subSet(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive)
subSet
in interface NavigableSet<K>
public NavigableSet<K> tailSet(K fromKey, boolean inclusive)
tailSet
in interface NavigableSet<K>
public Comparator<? super K> comparator()
comparator
in interface SortedSet<K>
public boolean add(K element)
public void clear()
clear
in interface Collection<K>
clear
in interface Set<K>
clear
in class PAbstractCollection<K>
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.