Class MinHashFilter.FixedSizeTreeSet<E extends java.lang.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:
java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<E>,java.util.Collection<E>,java.util.NavigableSet<E>,java.util.Set<E>,java.util.SortedSet<E>
- Enclosing class:
- MinHashFilter
static class MinHashFilter.FixedSizeTreeSet<E extends java.lang.Comparable<E>> extends java.util.TreeSet<E>
-
-
Field Summary
Fields Modifier and Type Field Description private intcapacityprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description FixedSizeTreeSet()FixedSizeTreeSet(int capacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(E toAdd)-
Methods inherited from class java.util.TreeSet
addAll, 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.AbstractCollection
containsAll, retainAll, toArray, toArray, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
capacity
private final int capacity
-
-