Class MinHashFilter.FixedSizeTreeSet<E extends java.lang.Comparable<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>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean add​(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.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.lang.Iterable

        forEach
      • Methods inherited from interface java.util.Set

        containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
    • Field Detail

      • capacity

        private final int capacity
    • Constructor Detail

      • FixedSizeTreeSet

        FixedSizeTreeSet()
      • FixedSizeTreeSet

        FixedSizeTreeSet​(int capacity)
    • Method Detail

      • add

        public boolean add​(E toAdd)
        Specified by:
        add in interface java.util.Collection<E extends java.lang.Comparable<E>>
        Specified by:
        add in interface java.util.Set<E extends java.lang.Comparable<E>>
        Overrides:
        add in class java.util.TreeSet<E extends java.lang.Comparable<E>>