Class SplayMap.NavigableSubMapKeySet
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<UnsignedInteger>
org.apache.qpid.protonj2.engine.util.SplayMap.NavigableSubMapKeySet
- All Implemented Interfaces:
Iterable<UnsignedInteger>
,Collection<UnsignedInteger>
,NavigableSet<UnsignedInteger>
,Set<UnsignedInteger>
,SortedSet<UnsignedInteger>
protected static class SplayMap.NavigableSubMapKeySet
extends AbstractSet<UnsignedInteger>
implements NavigableSet<UnsignedInteger>
-
Constructor Summary
ConstructorDescriptionNavigableSubMapKeySet
(org.apache.qpid.protonj2.engine.util.SplayMap.NavigableSubMap<?> backingMap) -
Method Summary
Modifier and TypeMethodDescriptionceiling
(UnsignedInteger key) void
clear()
Comparator<? super UnsignedInteger>
boolean
first()
floor
(UnsignedInteger key) headSet
(UnsignedInteger toElement) headSet
(UnsignedInteger toElement, boolean inclusive) higher
(UnsignedInteger key) boolean
isEmpty()
iterator()
last()
lower
(UnsignedInteger key) pollLast()
boolean
int
size()
subSet
(UnsignedInteger fromElement, boolean fromInclusive, UnsignedInteger toElement, boolean toInclusive) subSet
(UnsignedInteger fromElement, UnsignedInteger toElement) tailSet
(UnsignedInteger fromElement) tailSet
(UnsignedInteger fromElement, boolean inclusive) Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
add, addAll, containsAll, 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, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
Methods inherited from interface java.util.SortedSet
spliterator
-
Constructor Details
-
Method Details
-
iterator
- Specified by:
iterator
in interfaceCollection<UnsignedInteger>
- Specified by:
iterator
in interfaceIterable<UnsignedInteger>
- Specified by:
iterator
in interfaceNavigableSet<UnsignedInteger>
- Specified by:
iterator
in interfaceSet<UnsignedInteger>
- Specified by:
iterator
in classAbstractCollection<UnsignedInteger>
-
descendingIterator
- Specified by:
descendingIterator
in interfaceNavigableSet<UnsignedInteger>
-
size
public int size()- Specified by:
size
in interfaceCollection<UnsignedInteger>
- Specified by:
size
in interfaceSet<UnsignedInteger>
- Specified by:
size
in classAbstractCollection<UnsignedInteger>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<UnsignedInteger>
- Specified by:
isEmpty
in interfaceSet<UnsignedInteger>
- Overrides:
isEmpty
in classAbstractCollection<UnsignedInteger>
-
contains
- Specified by:
contains
in interfaceCollection<UnsignedInteger>
- Specified by:
contains
in interfaceSet<UnsignedInteger>
- Overrides:
contains
in classAbstractCollection<UnsignedInteger>
-
remove
- Specified by:
remove
in interfaceCollection<UnsignedInteger>
- Specified by:
remove
in interfaceSet<UnsignedInteger>
- Overrides:
remove
in classAbstractCollection<UnsignedInteger>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<UnsignedInteger>
- Specified by:
clear
in interfaceSet<UnsignedInteger>
- Overrides:
clear
in classAbstractCollection<UnsignedInteger>
-
comparator
- Specified by:
comparator
in interfaceSortedSet<UnsignedInteger>
-
first
- Specified by:
first
in interfaceSortedSet<UnsignedInteger>
-
last
- Specified by:
last
in interfaceSortedSet<UnsignedInteger>
-
lower
- Specified by:
lower
in interfaceNavigableSet<UnsignedInteger>
-
floor
- Specified by:
floor
in interfaceNavigableSet<UnsignedInteger>
-
ceiling
- Specified by:
ceiling
in interfaceNavigableSet<UnsignedInteger>
-
higher
- Specified by:
higher
in interfaceNavigableSet<UnsignedInteger>
-
pollFirst
- Specified by:
pollFirst
in interfaceNavigableSet<UnsignedInteger>
-
pollLast
- Specified by:
pollLast
in interfaceNavigableSet<UnsignedInteger>
-
descendingSet
- Specified by:
descendingSet
in interfaceNavigableSet<UnsignedInteger>
-
subSet
public NavigableSet<UnsignedInteger> subSet(UnsignedInteger fromElement, boolean fromInclusive, UnsignedInteger toElement, boolean toInclusive) - Specified by:
subSet
in interfaceNavigableSet<UnsignedInteger>
-
headSet
- Specified by:
headSet
in interfaceNavigableSet<UnsignedInteger>
-
tailSet
- Specified by:
tailSet
in interfaceNavigableSet<UnsignedInteger>
-
subSet
- Specified by:
subSet
in interfaceNavigableSet<UnsignedInteger>
- Specified by:
subSet
in interfaceSortedSet<UnsignedInteger>
-
headSet
- Specified by:
headSet
in interfaceNavigableSet<UnsignedInteger>
- Specified by:
headSet
in interfaceSortedSet<UnsignedInteger>
-
tailSet
- Specified by:
tailSet
in interfaceNavigableSet<UnsignedInteger>
- Specified by:
tailSet
in interfaceSortedSet<UnsignedInteger>
-