Package org.terracotta.offheapstore.util
Class AATreeSet.SubSet
java.lang.Object
java.util.AbstractCollection<T>
java.util.AbstractSet<T>
org.terracotta.offheapstore.util.AATreeSet.SubSet
- All Implemented Interfaces:
Iterable<T>,Collection<T>,SequencedCollection<T>,SequencedSet<T>,Set<T>,SortedSet<T>
- Enclosing class:
AATreeSet<T extends Comparable<? super T>>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidclear()Comparator<? super T> first()private booleanprivate booleaninRangeInclusive(T value) booleanisEmpty()iterator()last()booleanintsize()Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, retainAll, toArray, 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
addAll, contains, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArrayMethods inherited from interface java.util.SortedSet
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed, spliterator
-
Field Details
-
start
-
end
-
-
Constructor Details
-
SubSet
-
-
Method Details
-
add
- Specified by:
addin interfaceCollection<T extends Comparable<? super T>>- Specified by:
addin interfaceSet<T extends Comparable<? super T>>- Overrides:
addin classAbstractCollection<T extends Comparable<? super T>>
-
remove
- Specified by:
removein interfaceCollection<T extends Comparable<? super T>>- Specified by:
removein interfaceSet<T extends Comparable<? super T>>- Overrides:
removein classAbstractCollection<T extends Comparable<? super T>>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<T extends Comparable<? super T>>- Specified by:
clearin interfaceSet<T extends Comparable<? super T>>- Overrides:
clearin classAbstractCollection<T extends Comparable<? super T>>
-
iterator
- Specified by:
iteratorin interfaceCollection<T extends Comparable<? super T>>- Specified by:
iteratorin interfaceIterable<T extends Comparable<? super T>>- Specified by:
iteratorin interfaceSet<T extends Comparable<? super T>>- Specified by:
iteratorin classAbstractCollection<T extends Comparable<? super T>>
-
size
public int size()- Specified by:
sizein interfaceCollection<T extends Comparable<? super T>>- Specified by:
sizein interfaceSet<T extends Comparable<? super T>>- Specified by:
sizein classAbstractCollection<T extends Comparable<? super T>>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<T extends Comparable<? super T>>- Specified by:
isEmptyin interfaceSet<T extends Comparable<? super T>>- Overrides:
isEmptyin classAbstractCollection<T extends Comparable<? super T>>
-
comparator
- Specified by:
comparatorin interfaceSortedSet<T extends Comparable<? super T>>
-
subSet
- Specified by:
subSetin interfaceSortedSet<T extends Comparable<? super T>>
-
headSet
- Specified by:
headSetin interfaceSortedSet<T extends Comparable<? super T>>
-
tailSet
- Specified by:
tailSetin interfaceSortedSet<T extends Comparable<? super T>>
-
first
- Specified by:
firstin interfaceSortedSet<T extends Comparable<? super T>>
-
last
- Specified by:
lastin interfaceSortedSet<T extends Comparable<? super T>>
-
inRange
-
inRangeInclusive
-