public abstract class AbstractByteSortedSet extends AbstractByteSet implements ByteSortedSet
Modifier and Type | Method and Description |
---|---|
ByteBidirectionalIterator |
byteIterator()
Deprecated.
|
Byte |
first()
Delegates to the corresponding type-specific method.
|
ByteSortedSet |
headSet(Byte to)
Delegates to the corresponding type-specific method.
|
abstract ByteBidirectionalIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
Byte |
last()
Delegates to the corresponding type-specific method.
|
ByteSortedSet |
subSet(Byte from,
Byte to)
Delegates to the corresponding type-specific method.
|
ByteSortedSet |
tailSet(Byte from)
Delegates to the corresponding type-specific method.
|
equals, hashCode, rem, remove, remove
add, add, addAll, addAll, contains, contains, containsAll, containsAll, isEmpty, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toByteArray, toByteArray, toString
clear, size
comparator, firstByte, headSet, iterator, lastByte, subSet, tailSet
add, addAll, contains, containsAll, rem, removeAll, retainAll, toArray, toArray, toByteArray, toByteArray
public ByteSortedSet headSet(Byte to)
headSet
in interface ByteSortedSet
headSet
in interface SortedSet<Byte>
SortedSet.headSet(Object)
public ByteSortedSet tailSet(Byte from)
tailSet
in interface ByteSortedSet
tailSet
in interface SortedSet<Byte>
SortedSet.tailSet(Object)
public ByteSortedSet subSet(Byte from, Byte to)
subSet
in interface ByteSortedSet
subSet
in interface SortedSet<Byte>
SortedSet.subSet(Object,Object)
public Byte first()
public Byte last()
@Deprecated public ByteBidirectionalIterator byteIterator()
byteIterator
in interface ByteCollection
byteIterator
in interface ByteSortedSet
byteIterator
in class AbstractByteCollection
ByteCollection.iterator()
public abstract ByteBidirectionalIterator iterator()
ByteCollection
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 extends Collection
.
iterator
in interface ByteCollection
iterator
in interface ByteIterable
iterator
in interface ByteSet
iterator
in interface ByteSortedSet
iterator
in interface Iterable<Byte>
iterator
in interface Collection<Byte>
iterator
in interface Set<Byte>
iterator
in class AbstractByteSet