Package | Description |
---|---|
org.apache.commons.collections |
This package contains the interfaces and utilities shared across all the subpackages of this component.
|
org.apache.commons.collections.iterators |
This package contains implementations of the
Iterator interface. |
Modifier and Type | Field | Description |
---|---|---|
static ResettableListIterator |
IteratorUtils.EMPTY_LIST_ITERATOR |
A list iterator over no elements.
|
Modifier and Type | Method | Description |
---|---|---|
static ResettableListIterator |
IteratorUtils.arrayListIterator(java.lang.Object array) |
Gets a list iterator over an object or primitive array.
|
static ResettableListIterator |
IteratorUtils.arrayListIterator(java.lang.Object[] array) |
Gets a list iterator over an object array.
|
static ResettableListIterator |
IteratorUtils.arrayListIterator(java.lang.Object[] array,
int start) |
Gets a list iterator over the end part of an object array.
|
static ResettableListIterator |
IteratorUtils.arrayListIterator(java.lang.Object[] array,
int start,
int end) |
Gets a list iterator over part of an object array.
|
static ResettableListIterator |
IteratorUtils.arrayListIterator(java.lang.Object array,
int start) |
Gets a list iterator over the end part of an object or primitive array.
|
static ResettableListIterator |
IteratorUtils.arrayListIterator(java.lang.Object array,
int start,
int end) |
Gets a list iterator over part of an object or primitive array.
|
static ResettableListIterator |
IteratorUtils.emptyListIterator() |
Gets an empty list iterator.
|
static ResettableListIterator |
IteratorUtils.loopingListIterator(java.util.List list) |
Gets an iterator that loops continuously over the supplied list.
|
Modifier and Type | Class | Description |
---|---|---|
class |
ArrayListIterator |
Implements a
ListIterator over an array. |
class |
EmptyListIterator |
Provides an implementation of an empty list iterator.
|
class |
ListIteratorWrapper |
Converts an iterator into a list iterator by caching the returned entries.
|
class |
LoopingListIterator |
A ListIterator that restarts when it reaches the end or when it
reaches the beginning.
|
class |
ObjectArrayListIterator |
Implements a
ListIterator over an array of objects. |
class |
ReverseListIterator |
Iterates backwards through a List, starting with the last element
and continuing to the first.
|
class |
SingletonListIterator |
SingletonIterator is an ListIterator over a single
object instance. |
Modifier and Type | Field | Description |
---|---|---|
static ResettableListIterator |
EmptyListIterator.RESETTABLE_INSTANCE |
Singleton instance of the iterator.
|
Copyright © 2001-2017 Apache Software Foundation. All Rights Reserved.