Package | Description |
---|---|
org.apache.commons.collections4 |
This package contains the interfaces and utilities shared across all the subpackages of this component.
|
org.apache.commons.collections4.bidimap | |
org.apache.commons.collections4.iterators |
This package contains implementations of the
Iterator interface. |
org.apache.commons.collections4.map |
Modifier and Type | Interface | Description |
---|---|---|
interface |
ResettableListIterator<E> |
Defines a list iterator that can be reset back to an initial state.
|
Modifier and Type | Field | Description |
---|---|---|
static ResettableIterator |
IteratorUtils.EMPTY_ITERATOR |
An iterator over no elements.
|
Modifier and Type | Method | Description |
---|---|---|
static <E> ResettableIterator<E> |
IteratorUtils.arrayIterator(E... array) |
Gets an iterator over an object array.
|
static <E> ResettableIterator<E> |
IteratorUtils.arrayIterator(E[] array,
int start) |
Gets an iterator over the end part of an object array.
|
static <E> ResettableIterator<E> |
IteratorUtils.arrayIterator(E[] array,
int start,
int end) |
Gets an iterator over part of an object array.
|
static <E> ResettableIterator<E> |
IteratorUtils.arrayIterator(java.lang.Object array) |
Gets an iterator over an object or primitive array.
|
static <E> ResettableIterator<E> |
IteratorUtils.arrayIterator(java.lang.Object array,
int start) |
Gets an iterator over the end part of an object or primitive array.
|
static <E> ResettableIterator<E> |
IteratorUtils.arrayIterator(java.lang.Object array,
int start,
int end) |
Gets an iterator over part of an object or primitive array.
|
static <E> ResettableIterator<E> |
IteratorUtils.emptyIterator() |
Gets an empty iterator.
|
static <E> ResettableIterator<E> |
IteratorUtils.loopingIterator(java.util.Collection<? extends E> coll) |
Gets an iterator that loops continuously over the supplied collection.
|
static <E> ResettableIterator<E> |
IteratorUtils.singletonIterator(E object) |
Gets a singleton iterator.
|
Modifier and Type | Class | Description |
---|---|---|
protected static class |
AbstractDualBidiMap.BidiMapIterator<K,V> |
Inner class MapIterator.
|
protected static class |
DualTreeBidiMap.BidiOrderedMapIterator<K,V> |
Inner class MapIterator.
|
Modifier and Type | Class | Description |
---|---|---|
class |
ArrayIterator<E> |
Implements an
Iterator over any array. |
class |
ArrayListIterator<E> |
Implements a
ListIterator over an array. |
class |
EmptyIterator<E> |
Provides an implementation of an empty iterator.
|
class |
EmptyListIterator<E> |
Provides an implementation of an empty list iterator.
|
class |
EmptyMapIterator<K,V> |
Provides an implementation of an empty map iterator.
|
class |
EmptyOrderedIterator<E> |
Provides an implementation of an empty ordered iterator.
|
class |
EmptyOrderedMapIterator<K,V> |
Provides an implementation of an empty ordered map iterator.
|
class |
EntrySetMapIterator<K,V> |
Implements a
MapIterator using a Map entrySet. |
class |
ListIteratorWrapper<E> |
Converts an
Iterator into a ResettableListIterator . |
class |
LoopingIterator<E> |
An Iterator that restarts when it reaches the end.
|
class |
LoopingListIterator<E> |
A ListIterator that restarts when it reaches the end or when it
reaches the beginning.
|
class |
ObjectArrayIterator<E> |
An
Iterator over an array of objects. |
class |
ObjectArrayListIterator<E> |
Implements a
ListIterator over an array of objects. |
class |
ReverseListIterator<E> |
Iterates backwards through a List, starting with the last element
and continuing to the first.
|
class |
SingletonIterator<E> |
SingletonIterator is an Iterator over a single
object instance. |
class |
SingletonListIterator<E> |
SingletonIterator is an ListIterator over a single
object instance. |
Modifier and Type | Field | Description |
---|---|---|
static ResettableIterator |
EmptyIterator.RESETTABLE_INSTANCE |
Singleton instance of the iterator.
|
Modifier and Type | Method | Description |
---|---|---|
static <E> ResettableIterator<E> |
EmptyIterator.resettableEmptyIterator() |
Get a typed resettable empty iterator instance.
|
Modifier and Type | Class | Description |
---|---|---|
protected static class |
AbstractLinkedMap.EntrySetIterator<K,V> |
EntrySet iterator.
|
protected static class |
AbstractLinkedMap.KeySetIterator<K> |
KeySet iterator.
|
protected static class |
AbstractLinkedMap.LinkMapIterator<K,V> |
MapIterator implementation.
|
protected static class |
AbstractLinkedMap.ValuesIterator<V> |
Values iterator.
|
protected static class |
AbstractSortedMapDecorator.SortedMapIterator<K,V> |
OrderedMapIterator implementation.
|
class |
EntrySetToMapIteratorAdapter<K,V> |
Adapts a Map entrySet to the MapIterator interface.
|
Copyright © 2001-2019 - Apache Software Foundation