Package com.tangosol.util
Class SafeSortedMap.KeySet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet
-
- com.tangosol.util.SafeSortedMap.KeySet
-
- All Implemented Interfaces:
Iterable
,Collection
,NavigableSet
,Set
,SortedSet
- Enclosing class:
- SafeSortedMap
protected static class SafeSortedMap.KeySet extends AbstractSet implements NavigableSet
Key set delegation of the super map implementation.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
ceiling(Object e)
Comparator<? super Object>
comparator()
Iterator
descendingIterator()
NavigableSet
descendingSet()
Object
first()
Object
floor(Object e)
NavigableSet
headSet(Object oToElement)
NavigableSet
headSet(Object oToElement, boolean fInclusive)
Object
higher(Object e)
Iterator
iterator()
Object
last()
Object
lower(Object e)
Object
pollFirst()
Object
pollLast()
int
size()
NavigableSet
subSet(Object oFromElement, boolean fFromInclusive, Object oToElement, boolean fToInclusive)
NavigableSet
subSet(Object oFromElement, Object oToElement)
NavigableSet
tailSet(Object oFromElement)
NavigableSet
tailSet(Object oFromElement, boolean fInclusive)
-
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
-
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, toArray, toArray
-
Methods inherited from interface java.util.SortedSet
spliterator
-
-
-
-
Method Detail
-
size
public int size()
- Specified by:
size
in interfaceCollection
- Specified by:
size
in interfaceSet
- Specified by:
size
in classAbstractCollection
-
lower
public Object lower(Object e)
- Specified by:
lower
in interfaceNavigableSet
-
floor
public Object floor(Object e)
- Specified by:
floor
in interfaceNavigableSet
-
ceiling
public Object ceiling(Object e)
- Specified by:
ceiling
in interfaceNavigableSet
-
higher
public Object higher(Object e)
- Specified by:
higher
in interfaceNavigableSet
-
pollFirst
public Object pollFirst()
- Specified by:
pollFirst
in interfaceNavigableSet
-
pollLast
public Object pollLast()
- Specified by:
pollLast
in interfaceNavigableSet
-
descendingSet
public NavigableSet descendingSet()
- Specified by:
descendingSet
in interfaceNavigableSet
-
descendingIterator
public Iterator descendingIterator()
- Specified by:
descendingIterator
in interfaceNavigableSet
-
subSet
public NavigableSet subSet(Object oFromElement, Object oToElement)
- Specified by:
subSet
in interfaceNavigableSet
- Specified by:
subSet
in interfaceSortedSet
-
subSet
public NavigableSet subSet(Object oFromElement, boolean fFromInclusive, Object oToElement, boolean fToInclusive)
- Specified by:
subSet
in interfaceNavigableSet
-
headSet
public NavigableSet headSet(Object oToElement, boolean fInclusive)
- Specified by:
headSet
in interfaceNavigableSet
-
headSet
public NavigableSet headSet(Object oToElement)
- Specified by:
headSet
in interfaceNavigableSet
- Specified by:
headSet
in interfaceSortedSet
-
tailSet
public NavigableSet tailSet(Object oFromElement, boolean fInclusive)
- Specified by:
tailSet
in interfaceNavigableSet
-
tailSet
public NavigableSet tailSet(Object oFromElement)
- Specified by:
tailSet
in interfaceNavigableSet
- Specified by:
tailSet
in interfaceSortedSet
-
comparator
public Comparator<? super Object> comparator()
- Specified by:
comparator
in interfaceSortedSet
-
iterator
public Iterator iterator()
- Specified by:
iterator
in interfaceCollection
- Specified by:
iterator
in interfaceIterable
- Specified by:
iterator
in interfaceNavigableSet
- Specified by:
iterator
in interfaceSet
- Specified by:
iterator
in classAbstractCollection
-
-