Class MinHashFilter.FixedSizeTreeSet<E extends Comparable<E>>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.TreeSet<E>
org.apache.lucene.analysis.minhash.MinHashFilter.FixedSizeTreeSet<E>
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<E>
,Collection<E>
,NavigableSet<E>
,SequencedCollection<E>
,SequencedSet<E>
,Set<E>
,SortedSet<E>
- Enclosing class:
MinHashFilter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private static final long
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.TreeSet
addAll, addFirst, addLast, ceiling, clear, clone, comparator, contains, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, remove, size, spliterator, subSet, subSet, tailSet, tailSet
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
containsAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.NavigableSet
removeFirst, removeLast, reversed
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
capacity
private final int capacity
-
-
Constructor Details
-
FixedSizeTreeSet
FixedSizeTreeSet() -
FixedSizeTreeSet
FixedSizeTreeSet(int capacity)
-
-
Method Details
-
add
- Specified by:
add
in interfaceCollection<E extends Comparable<E>>
- Specified by:
add
in interfaceSet<E extends Comparable<E>>
- Overrides:
add
in classTreeSet<E extends Comparable<E>>
-