|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.unimi.dsi.fastutil.bytes.ByteBigListIterators
public class ByteBigListIterators
A class providing static methods and objects that do useful things with type-specific iterators.
ByteBigListIterators.EmptyBigListIterator
Nested Class Summary | |
---|---|
static class |
ByteBigListIterators.BigListIteratorListIterator
A class exposing a list iterator as a big-list iterator.. |
static class |
ByteBigListIterators.EmptyBigListIterator
A class returning no elements and a type-specific big list iterator interface. |
static class |
ByteBigListIterators.UnmodifiableBigListIterator
An unmodifiable wrapper class for big list iterators. |
Field Summary | |
---|---|
static ByteBigListIterators.EmptyBigListIterator |
EMPTY_BIG_LIST_ITERATOR
An empty iterator (immutable). |
Method Summary | |
---|---|
static ByteBigListIterator |
asBigListIterator(ByteListIterator i)
Returns a big-list iterator backed by the specified list iterator. |
static ByteBigListIterator |
singleton(byte element)
Returns an iterator that iterates just over the given element. |
static ByteBigListIterator |
unmodifiable(ByteBigListIterator i)
Returns an unmodifiable list iterator backed by the specified list iterator. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ByteBigListIterators.EmptyBigListIterator EMPTY_BIG_LIST_ITERATOR
The class of this objects represent an abstract empty iterator that can iterate as a type-specific (list) iterator.
Method Detail |
---|
public static ByteBigListIterator singleton(byte element)
element
- the only element to be returned by a type-specific list iterator.
element
.public static ByteBigListIterator unmodifiable(ByteBigListIterator i)
i
- the list iterator to be wrapped in an unmodifiable list iterator.
public static ByteBigListIterator asBigListIterator(ByteListIterator i)
i
- the list iterator to adapted to the big-list-iterator interface.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |