Class SplayMap.SplayMapKeySet
- All Implemented Interfaces:
Iterable<UnsignedInteger>,Collection<UnsignedInteger>,NavigableSet<UnsignedInteger>,Set<UnsignedInteger>,SortedSet<UnsignedInteger>
protected class SplayMap.SplayMapKeySet
extends AbstractSet<UnsignedInteger>
implements NavigableSet<UnsignedInteger>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionceiling(UnsignedInteger key) voidclear()Comparator<? super UnsignedInteger>booleanfirst()floor(UnsignedInteger key) headSet(UnsignedInteger toElement) headSet(UnsignedInteger toElement, boolean inclusive) higher(UnsignedInteger key) booleanisEmpty()iterator()last()lower(UnsignedInteger key) pollLast()booleanbooleanretainAll(Collection<?> c) intsize()subSet(UnsignedInteger fromElement, boolean fromInclusive, UnsignedInteger toElement, boolean toInclusive) subSet(UnsignedInteger fromElement, UnsignedInteger toElement) tailSet(UnsignedInteger fromElement) tailSet(UnsignedInteger fromElement, boolean inclusive) Object[]toArray()Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
add, addAll, containsAll, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
add, addAll, containsAll, equals, hashCode, removeAll, toArrayMethods inherited from interface java.util.SortedSet
spliterator
-
Constructor Details
-
SplayMapKeySet
protected SplayMapKeySet()
-
-
Method Details
-
iterator
- Specified by:
iteratorin interfaceCollection<UnsignedInteger>- Specified by:
iteratorin interfaceIterable<UnsignedInteger>- Specified by:
iteratorin interfaceNavigableSet<UnsignedInteger>- Specified by:
iteratorin interfaceSet<UnsignedInteger>- Specified by:
iteratorin classAbstractCollection<UnsignedInteger>
-
size
public int size()- Specified by:
sizein interfaceCollection<UnsignedInteger>- Specified by:
sizein interfaceSet<UnsignedInteger>- Specified by:
sizein classAbstractCollection<UnsignedInteger>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<UnsignedInteger>- Specified by:
isEmptyin interfaceSet<UnsignedInteger>- Overrides:
isEmptyin classAbstractCollection<UnsignedInteger>
-
contains
- Specified by:
containsin interfaceCollection<UnsignedInteger>- Specified by:
containsin interfaceSet<UnsignedInteger>- Overrides:
containsin classAbstractCollection<UnsignedInteger>
-
remove
- Specified by:
removein interfaceCollection<UnsignedInteger>- Specified by:
removein interfaceSet<UnsignedInteger>- Overrides:
removein classAbstractCollection<UnsignedInteger>
-
retainAll
- Specified by:
retainAllin interfaceCollection<UnsignedInteger>- Specified by:
retainAllin interfaceSet<UnsignedInteger>- Overrides:
retainAllin classAbstractCollection<UnsignedInteger>
-
toArray
- Specified by:
toArrayin interfaceCollection<UnsignedInteger>- Specified by:
toArrayin interfaceSet<UnsignedInteger>- Overrides:
toArrayin classAbstractCollection<UnsignedInteger>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<UnsignedInteger>- Specified by:
clearin interfaceSet<UnsignedInteger>- Overrides:
clearin classAbstractCollection<UnsignedInteger>
-
comparator
- Specified by:
comparatorin interfaceSortedSet<UnsignedInteger>
-
first
- Specified by:
firstin interfaceSortedSet<UnsignedInteger>
-
last
- Specified by:
lastin interfaceSortedSet<UnsignedInteger>
-
lower
- Specified by:
lowerin interfaceNavigableSet<UnsignedInteger>
-
floor
- Specified by:
floorin interfaceNavigableSet<UnsignedInteger>
-
ceiling
- Specified by:
ceilingin interfaceNavigableSet<UnsignedInteger>
-
higher
- Specified by:
higherin interfaceNavigableSet<UnsignedInteger>
-
pollFirst
- Specified by:
pollFirstin interfaceNavigableSet<UnsignedInteger>
-
pollLast
- Specified by:
pollLastin interfaceNavigableSet<UnsignedInteger>
-
descendingSet
- Specified by:
descendingSetin interfaceNavigableSet<UnsignedInteger>
-
descendingIterator
- Specified by:
descendingIteratorin interfaceNavigableSet<UnsignedInteger>
-
subSet
public NavigableSet<UnsignedInteger> subSet(UnsignedInteger fromElement, boolean fromInclusive, UnsignedInteger toElement, boolean toInclusive) - Specified by:
subSetin interfaceNavigableSet<UnsignedInteger>
-
headSet
- Specified by:
headSetin interfaceNavigableSet<UnsignedInteger>
-
tailSet
- Specified by:
tailSetin interfaceNavigableSet<UnsignedInteger>
-
subSet
- Specified by:
subSetin interfaceNavigableSet<UnsignedInteger>- Specified by:
subSetin interfaceSortedSet<UnsignedInteger>
-
headSet
- Specified by:
headSetin interfaceNavigableSet<UnsignedInteger>- Specified by:
headSetin interfaceSortedSet<UnsignedInteger>
-
tailSet
- Specified by:
tailSetin interfaceNavigableSet<UnsignedInteger>- Specified by:
tailSetin interfaceSortedSet<UnsignedInteger>
-