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:
LongBidirectionalIterable
,LongCollection
,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.
-
Method Summary
Modifier and TypeMethodDescriptionabstract LongBidirectionalIterator
iterator()
Returns a type-specific iterator on the elements of this collection.Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongSet
equals, hashCode, rem, remove
Methods 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, toString
Methods inherited from interface java.util.Collection
toArray
Methods 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, toLongArray
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongIterable
forEach, forEach, forEach
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongSet
add, contains, rem, remove, remove
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongSortedSet
comparator, first, firstLong, headSet, headSet, iterator, last, lastLong, spliterator, subSet, subSet, tailSet, 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
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed
-
Method Details
-
iterator
Description copied from interface:LongCollection
Returns a type-specific iterator on the elements of this collection.- Specified by:
iterator
in interfaceCollection<Long>
- Specified by:
iterator
in interfaceIterable<Long>
- Specified by:
iterator
in interfaceLongBidirectionalIterable
- Specified by:
iterator
in interfaceLongCollection
- Specified by:
iterator
in interfaceLongIterable
- Specified by:
iterator
in interfaceLongSet
- Specified by:
iterator
in interfaceLongSortedSet
- Specified by:
iterator
in interfaceSet<Long>
- Specified by:
iterator
in classAbstractLongSet
- Returns:
- a type-specific iterator on the elements of this collection.
- See Also:
-