Package it.unimi.dsi.fastutil.objects
Class AbstractObjectSortedSet<K>
java.lang.Object
java.util.AbstractCollection<K>
it.unimi.dsi.fastutil.objects.AbstractObjectCollection<K>
it.unimi.dsi.fastutil.objects.AbstractObjectSet<K>
it.unimi.dsi.fastutil.objects.AbstractObjectSortedSet<K>
- All Implemented Interfaces:
it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterable<K>,it.unimi.dsi.fastutil.objects.ObjectCollection<K>,it.unimi.dsi.fastutil.objects.ObjectIterable<K>,ObjectSet<K>,ObjectSortedSet<K>,Cloneable,Iterable<K>,Collection<K>,SequencedCollection<K>,SequencedSet<K>,Set<K>,SortedSet<K>
- Direct Known Subclasses:
ObjectAVLTreeSet,ObjectLinkedOpenCustomHashSet,ObjectLinkedOpenHashSet,ObjectRBTreeSet
public abstract class AbstractObjectSortedSet<K>
extends AbstractObjectSet<K>
implements ObjectSortedSet<K>
An abstract class providing basic methods for sorted sets implementing a type-specific interface.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectSet
equals, hashCodeMethods inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectCollection
toStringMethods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface it.unimi.dsi.fastutil.objects.ObjectSortedSet
headSet, iterator, spliterator, subSet, tailSetMethods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArrayMethods inherited from interface java.util.SortedSet
addFirst, addLast, comparator, first, getFirst, getLast, last, removeFirst, removeLast, reversed
-
Constructor Details
-
AbstractObjectSortedSet
protected AbstractObjectSortedSet()
-
-
Method Details
-
iterator
Description copied from interface:ObjectSetReturns a type-specific iterator on the elements of this set.- Specified by:
iteratorin interfaceCollection<K>- Specified by:
iteratorin interfaceIterable<K>- Specified by:
iteratorin interfaceit.unimi.dsi.fastutil.objects.ObjectBidirectionalIterable<K>- Specified by:
iteratorin interfaceit.unimi.dsi.fastutil.objects.ObjectCollection<K>- Specified by:
iteratorin interfaceit.unimi.dsi.fastutil.objects.ObjectIterable<K>- Specified by:
iteratorin interfaceObjectSet<K>- Specified by:
iteratorin interfaceObjectSortedSet<K>- Specified by:
iteratorin interfaceSet<K>- Specified by:
iteratorin classAbstractObjectSet<K>- Returns:
- a type-specific iterator on the elements of this set.
-