Package it.unimi.dsi.fastutil.bytes
Class AbstractByteSortedSet
- java.lang.Object
-
- java.util.AbstractCollection<Byte>
-
- it.unimi.dsi.fastutil.bytes.AbstractByteCollection
-
- it.unimi.dsi.fastutil.bytes.AbstractByteSet
-
- it.unimi.dsi.fastutil.bytes.AbstractByteSortedSet
-
- All Implemented Interfaces:
ByteBidirectionalIterable
,ByteCollection
,ByteIterable
,ByteSet
,ByteSortedSet
,Cloneable
,Iterable<Byte>
,Collection<Byte>
,Set<Byte>
,SortedSet<Byte>
- Direct Known Subclasses:
ByteAVLTreeSet
,ByteLinkedOpenCustomHashSet
,ByteLinkedOpenHashSet
,ByteRBTreeSet
public abstract class AbstractByteSortedSet extends AbstractByteSet implements ByteSortedSet
An abstract class providing basic methods for sorted sets implementing a type-specific interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract ByteBidirectionalIterator
iterator()
Returns a type-specific iterator on the elements of this collection.-
Methods inherited from class it.unimi.dsi.fastutil.bytes.AbstractByteSet
equals, hashCode, rem, remove
-
Methods inherited from class it.unimi.dsi.fastutil.bytes.AbstractByteCollection
add, add, addAll, addAll, contains, contains, containsAll, containsAll, remove, removeAll, removeAll, retainAll, retainAll, toArray, toByteArray, toByteArray, toString
-
Methods inherited from interface it.unimi.dsi.fastutil.bytes.ByteCollection
add, addAll, contains, containsAll, removeAll, removeIf, removeIf, retainAll, toArray, toByteArray, toByteArray
-
Methods inherited from interface it.unimi.dsi.fastutil.bytes.ByteIterable
forEach, forEach
-
Methods inherited from interface it.unimi.dsi.fastutil.bytes.ByteSet
add, contains, rem, remove, remove
-
Methods inherited from interface it.unimi.dsi.fastutil.bytes.ByteSortedSet
comparator, first, firstByte, headSet, headSet, iterator, last, lastByte, subSet, subSet, tailSet, tailSet
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
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 ByteBidirectionalIterator iterator()
Description copied from interface:ByteCollection
Returns 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:
iterator
in interfaceByteBidirectionalIterable
- Specified by:
iterator
in interfaceByteCollection
- Specified by:
iterator
in interfaceByteIterable
- Specified by:
iterator
in interfaceByteSet
- Specified by:
iterator
in interfaceByteSortedSet
- Specified by:
iterator
in interfaceCollection<Byte>
- Specified by:
iterator
in interfaceIterable<Byte>
- Specified by:
iterator
in interfaceSet<Byte>
- Specified by:
iterator
in classAbstractByteSet
- Returns:
- a type-specific iterator on the elements of this collection.
- See Also:
Iterable.iterator()
-
-