T
- class ReferenceSortedSet<T> extends ReferenceSet<T> implements SortedSet<T>
Comparable
,
Comparator
,
ReferenceComparator
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private SortedSet<Referrer<T>> |
set |
Constructor and Description |
---|
ReferenceSortedSet(SortedSet<Referrer<T>> set,
Ref type,
boolean gcThreads,
long gcCycle) |
ReferenceSortedSet(SortedSet<Referrer<T>> set,
ReferenceQueuingFactory<T,Referrer<T>> rqf,
Ref type) |
Modifier and Type | Method and Description |
---|---|
Comparator<? super T> |
comparator() |
T |
first() |
SortedSet<T> |
headSet(T toElement) |
T |
last() |
private void |
readObject(ObjectInputStream stream) |
SortedSet<T> |
subSet(T fromElement,
T toElement) |
SortedSet<T> |
tailSet(T fromElement) |
equals, hashCode
add, addAll, clear, contains, containsAll, getRef, getRQF, isEmpty, iterator, processQueue, remove, size, toString, wrapObj, writeReplace
removeAll, retainAll, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
spliterator
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
parallelStream, removeIf, stream
private static final long serialVersionUID
ReferenceSortedSet(SortedSet<Referrer<T>> set, Ref type, boolean gcThreads, long gcCycle)
private void readObject(ObjectInputStream stream) throws InvalidObjectException
InvalidObjectException
public Comparator<? super T> comparator()
comparator
in interface SortedSet<T>
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.