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 Objectceiling(Object e)Comparator<? super Object>comparator()IteratordescendingIterator()NavigableSetdescendingSet()Objectfirst()Objectfloor(Object e)NavigableSetheadSet(Object oToElement)NavigableSetheadSet(Object oToElement, boolean fInclusive)Objecthigher(Object e)Iteratoriterator()Objectlast()Objectlower(Object e)ObjectpollFirst()ObjectpollLast()intsize()NavigableSetsubSet(Object oFromElement, boolean fFromInclusive, Object oToElement, boolean fToInclusive)NavigableSetsubSet(Object oFromElement, Object oToElement)NavigableSettailSet(Object oFromElement)NavigableSettailSet(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:
sizein interfaceCollection- Specified by:
sizein interfaceSet- Specified by:
sizein classAbstractCollection
-
lower
public Object lower(Object e)
- Specified by:
lowerin interfaceNavigableSet
-
floor
public Object floor(Object e)
- Specified by:
floorin interfaceNavigableSet
-
ceiling
public Object ceiling(Object e)
- Specified by:
ceilingin interfaceNavigableSet
-
higher
public Object higher(Object e)
- Specified by:
higherin interfaceNavigableSet
-
pollFirst
public Object pollFirst()
- Specified by:
pollFirstin interfaceNavigableSet
-
pollLast
public Object pollLast()
- Specified by:
pollLastin interfaceNavigableSet
-
descendingSet
public NavigableSet descendingSet()
- Specified by:
descendingSetin interfaceNavigableSet
-
descendingIterator
public Iterator descendingIterator()
- Specified by:
descendingIteratorin interfaceNavigableSet
-
subSet
public NavigableSet subSet(Object oFromElement, Object oToElement)
- Specified by:
subSetin interfaceNavigableSet- Specified by:
subSetin interfaceSortedSet
-
subSet
public NavigableSet subSet(Object oFromElement, boolean fFromInclusive, Object oToElement, boolean fToInclusive)
- Specified by:
subSetin interfaceNavigableSet
-
headSet
public NavigableSet headSet(Object oToElement, boolean fInclusive)
- Specified by:
headSetin interfaceNavigableSet
-
headSet
public NavigableSet headSet(Object oToElement)
- Specified by:
headSetin interfaceNavigableSet- Specified by:
headSetin interfaceSortedSet
-
tailSet
public NavigableSet tailSet(Object oFromElement, boolean fInclusive)
- Specified by:
tailSetin interfaceNavigableSet
-
tailSet
public NavigableSet tailSet(Object oFromElement)
- Specified by:
tailSetin interfaceNavigableSet- Specified by:
tailSetin interfaceSortedSet
-
comparator
public Comparator<? super Object> comparator()
- Specified by:
comparatorin interfaceSortedSet
-
iterator
public Iterator iterator()
- Specified by:
iteratorin interfaceCollection- Specified by:
iteratorin interfaceIterable- Specified by:
iteratorin interfaceNavigableSet- Specified by:
iteratorin interfaceSet- Specified by:
iteratorin classAbstractCollection
-
-