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>,Set<Long>,SortedSet<Long>
- Direct Known Subclasses:
LongAVLTreeSet,LongLinkedOpenCustomHashSet,LongLinkedOpenHashSet,LongRBTreeSet
public abstract class AbstractLongSortedSet extends AbstractLongSet implements LongSortedSet
An abstract class providing basic methods for sorted sets implementing a type-specific interface.
-
-
Method Summary
Modifier and Type Method Description abstract LongBidirectionalIteratoriterator()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, contains, contains, containsAll, remove, removeAll, retainAll, toArray, toLongArray, toLongArray, toString
-
Methods inherited from class java.util.AbstractCollection
addAll, clear, containsAll, isEmpty, removeAll, retainAll, size, toArray, toArray
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongCollection
add, addAll, contains, containsAll, removeAll, removeIf, removeIf, retainAll, toArray, toLongArray, toLongArray
-
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongIterable
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, 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
spliterator
-
-
-
-
Method Detail
-
iterator
public abstract LongBidirectionalIterator iterator()
Description copied from interface:LongCollectionReturns a type-specific iterator on the elements of this collection.Note that this specification strengthens the one given in
Iterable.iterator(), which was already strengthened in the corresponding type-specific class, but was weakened by the fact that this interface extendsCollection.- Specified by:
iteratorin interfaceCollection<Long>- Specified by:
iteratorin interfaceIterable<Long>- Specified by:
iteratorin interfaceLongBidirectionalIterable- Specified by:
iteratorin interfaceLongCollection- Specified by:
iteratorin interfaceLongIterable- 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 collection.
- See Also:
Iterable.iterator()
-
-