Modifier and Type | Class and Description |
---|---|
static class |
IntBigListIterators.BigListIteratorListIterator
A class exposing a list iterator as a big-list iterator..
|
static class |
IntBigListIterators.EmptyBigListIterator
A class returning no elements and a type-specific big list iterator interface.
|
static class |
IntBigListIterators.UnmodifiableBigListIterator
An unmodifiable wrapper class for big list iterators.
|
Modifier and Type | Field and Description |
---|---|
static IntBigListIterators.EmptyBigListIterator |
EMPTY_BIG_LIST_ITERATOR
An empty iterator (immutable).
|
Modifier and Type | Method and Description |
---|---|
static IntBigListIterator |
asBigListIterator(IntListIterator i)
Returns a big-list iterator backed by the specified list iterator.
|
static IntBigListIterator |
singleton(int element)
Returns an iterator that iterates just over the given element.
|
static IntBigListIterator |
unmodifiable(IntBigListIterator i)
Returns an unmodifiable list iterator backed by the specified list iterator.
|
public static final IntBigListIterators.EmptyBigListIterator EMPTY_BIG_LIST_ITERATOR
The class of this objects represent an abstract empty iterator that can iterate as a type-specific (list) iterator.
public static IntBigListIterator singleton(int element)
element
- the only element to be returned by a type-specific list iterator.element
.public static IntBigListIterator unmodifiable(IntBigListIterator i)
i
- the list iterator to be wrapped in an unmodifiable list iterator.public static IntBigListIterator asBigListIterator(IntListIterator i)
i
- the list iterator to adapted to the big-list-iterator interface.