it.unimi.dsi.fastutil.longs
Class AbstractLongSortedSet
java.lang.Object
it.unimi.dsi.fastutil.longs.AbstractLongCollection
it.unimi.dsi.fastutil.longs.AbstractLongSet
it.unimi.dsi.fastutil.longs.AbstractLongSortedSet
- All Implemented Interfaces:
- Cloneable, Collection, LongCollection, LongSet, LongSortedSet, Set, SortedSet
- Direct Known Subclasses:
- LongAVLTreeSet, LongLinkedOpenHashSet, LongRBTreeSet
- public abstract class AbstractLongSortedSet
- extends AbstractLongSet
- implements LongSortedSet
An abstract class providing basic methods for sorted sets implementing a type-specific interface.
Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongCollection |
add, add, addAll, addAll, clear, contains, containsAll, containsAll, isEmpty, iterator, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toLongArray, toLongArray, toString |
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongSet |
remove |
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongCollection |
add, addAll, contains, containsAll, longIterator, rem, removeAll, retainAll, toArray, toLongArray, toLongArray |
headSet
public SortedSet headSet(Object to)
- Delegates to the corresponding type-specific method.
- Specified by:
headSet
in interface SortedSet
tailSet
public SortedSet tailSet(Object from)
- Delegates to the corresponding type-specific method.
- Specified by:
tailSet
in interface SortedSet
subSet
public SortedSet subSet(Object from,
Object to)
- Delegates to the corresponding type-specific method.
- Specified by:
subSet
in interface SortedSet
first
public Object first()
- Delegates to the corresponding type-specific method.
- Specified by:
first
in interface SortedSet
last
public Object last()
- Delegates to the corresponding type-specific method.
- Specified by:
last
in interface SortedSet