Package it.unimi.dsi.fastutil.longs
Class AbstractLongSortedSet
java.lang.Object
java.util.AbstractCollection<Long>
it.unimi.dsi.fastutil.longs.AbstractLongCollection
it.unimi.dsi.fastutil.longs.AbstractLongSet
it.unimi.dsi.fastutil.longs.AbstractLongSortedSet
- All Implemented Interfaces:
it.unimi.dsi.fastutil.longs.LongBidirectionalIterable,it.unimi.dsi.fastutil.longs.LongCollection,it.unimi.dsi.fastutil.longs.LongIterable,LongSet,LongSortedSet,Cloneable,Iterable<Long>,Collection<Long>,SequencedCollection<Long>,SequencedSet<Long>,Set<Long>,SortedSet<Long>
- Direct Known Subclasses:
LongAVLTreeSet,LongLinkedOpenCustomHashSet,LongLinkedOpenHashSet,LongRBTreeSet
An abstract class providing basic methods for sorted sets implementing a type-specific interface.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract it.unimi.dsi.fastutil.longs.LongBidirectionalIteratoriterator()Returns a type-specific iterator on the elements of this set.Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongSet
equals, hashCode, rem, removeMethods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongCollection
add, add, addAll, addAll, contains, contains, containsAll, containsAll, forEach, remove, removeAll, removeAll, removeIf, retainAll, retainAll, toArray, toLongArray, toLongArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
toArrayMethods inherited from interface it.unimi.dsi.fastutil.longs.LongCollection
add, addAll, contains, containsAll, longIterator, longParallelStream, longSpliterator, longStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toArray, toLongArray, toLongArrayMethods inherited from interface it.unimi.dsi.fastutil.longs.LongIterable
forEach, forEach, forEachMethods inherited from interface it.unimi.dsi.fastutil.longs.LongSet
add, contains, rem, remove, removeMethods inherited from interface it.unimi.dsi.fastutil.longs.LongSortedSet
comparator, first, firstLong, headSet, headSet, iterator, last, lastLong, spliterator, subSet, subSet, tailSet, 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, getFirst, getLast, removeFirst, removeLast, reversed
-
Constructor Details
-
AbstractLongSortedSet
protected AbstractLongSortedSet()
-
-
Method Details
-
iterator
public abstract it.unimi.dsi.fastutil.longs.LongBidirectionalIterator iterator()Description copied from interface:LongSetReturns a type-specific iterator on the elements of this set.- Specified by:
iteratorin interfaceCollection<Long>- Specified by:
iteratorin interfaceIterable<Long>- Specified by:
iteratorin interfaceit.unimi.dsi.fastutil.longs.LongBidirectionalIterable- Specified by:
iteratorin interfaceit.unimi.dsi.fastutil.longs.LongCollection- Specified by:
iteratorin interfaceit.unimi.dsi.fastutil.longs.LongIterable- Specified by:
iteratorin interfaceLongSet- Specified by:
iteratorin interfaceLongSortedSet- Specified by:
iteratorin interfaceSet<Long>- Specified by:
iteratorin classAbstractLongSet- Returns:
- a type-specific iterator on the elements of this set.
-