Class AbstractReferenceSortedSet<K>

java.lang.Object
java.util.AbstractCollection<K>
All Implemented Interfaces:
it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterable<K>, it.unimi.dsi.fastutil.objects.ObjectIterable<K>, ReferenceCollection<K>, ReferenceSet<K>, ReferenceSortedSet<K>, java.lang.Cloneable, java.lang.Iterable<K>, java.util.Collection<K>, java.util.Set<K>, java.util.SortedSet<K>
Direct Known Subclasses:
ReferenceLinkedOpenHashSet

public abstract class AbstractReferenceSortedSet<K>
extends AbstractReferenceSet<K>
implements ReferenceSortedSet<K>
An abstract class providing basic methods for sorted sets implementing a type-specific interface.
  • Method Summary

    Modifier and Type Method Description
    abstract it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<K> iterator()
    Returns a type-specific iterator on the elements of this collection.

    Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractReferenceSet

    equals, hashCode

    Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractReferenceCollection

    toString

    Methods inherited from class java.util.AbstractCollection

    add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray

    Methods inherited from class java.lang.Object

    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 it.unimi.dsi.fastutil.objects.ReferenceSortedSet

    headSet, iterator, spliterator, subSet, tailSet

    Methods inherited from interface java.util.Set

    add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray

    Methods inherited from interface java.util.SortedSet

    comparator, first, last
  • Method Details

    • iterator

      public abstract it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<K> iterator()
      Description copied from interface: ReferenceCollection
      Returns a type-specific iterator on the elements of this collection.
      Specified by:
      iterator in interface java.util.Collection<K>
      Specified by:
      iterator in interface java.lang.Iterable<K>
      Specified by:
      iterator in interface it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterable<K>
      Specified by:
      iterator in interface it.unimi.dsi.fastutil.objects.ObjectIterable<K>
      Specified by:
      iterator in interface ReferenceCollection<K>
      Specified by:
      iterator in interface ReferenceSet<K>
      Specified by:
      iterator in interface ReferenceSortedSet<K>
      Specified by:
      iterator in interface java.util.Set<K>
      Specified by:
      iterator in class AbstractReferenceSet<K>
      Returns:
      a type-specific iterator on the elements of this collection.