|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.unimi.dsi.fastutil.bytes.AbstractByteCollection
it.unimi.dsi.fastutil.bytes.AbstractByteSet
it.unimi.dsi.fastutil.bytes.AbstractByteSortedSet
public abstract class AbstractByteSortedSet
An abstract class providing basic methods for sorted sets implementing a type-specific interface.
Method Summary | |
---|---|
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. |
Methods inherited from class it.unimi.dsi.fastutil.bytes.AbstractByteSet |
---|
equals, hashCode, rem, remove, remove |
Methods inherited from class it.unimi.dsi.fastutil.bytes.AbstractByteCollection |
---|
add, add, addAll, addAll, clear, contains, containsAll, containsAll, isEmpty, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toByteArray, toByteArray, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface it.unimi.dsi.fastutil.bytes.ByteSortedSet |
---|
comparator, firstByte, headSet, iterator, lastByte, subSet, tailSet |
Methods inherited from interface it.unimi.dsi.fastutil.bytes.ByteSet |
---|
remove |
Methods inherited from interface it.unimi.dsi.fastutil.bytes.ByteCollection |
---|
add, addAll, contains, containsAll, rem, removeAll, retainAll, toArray, toArray, toByteArray, toByteArray |
Methods inherited from interface java.util.Set |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray |
Method Detail |
---|
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()
first
in interface SortedSet<Byte>
public Byte last()
last
in interface SortedSet<Byte>
@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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |