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.bidimap | |
org.apache.commons.collections.iterators |
This package contains implementations of the
Iterator interface. |
org.apache.commons.collections.map |
Modifier and Type | Interface | Description |
---|---|---|
interface |
ResettableListIterator |
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 ResettableIterator |
IteratorUtils.arrayIterator(java.lang.Object array) |
Gets an iterator over an object or primitive array.
|
static ResettableIterator |
IteratorUtils.arrayIterator(java.lang.Object[] array) |
Gets an iterator over an object array.
|
static ResettableIterator |
IteratorUtils.arrayIterator(java.lang.Object[] array,
int start) |
Gets an iterator over the end part of an object array.
|
static ResettableIterator |
IteratorUtils.arrayIterator(java.lang.Object[] array,
int start,
int end) |
Gets an iterator over part of an object array.
|
static ResettableIterator |
IteratorUtils.arrayIterator(java.lang.Object array,
int start) |
Gets an iterator over the end part of an object or primitive array.
|
static ResettableIterator |
IteratorUtils.arrayIterator(java.lang.Object array,
int start,
int end) |
Gets an iterator over part of an object or primitive array.
|
static ResettableIterator |
IteratorUtils.emptyIterator() |
Gets an empty iterator.
|
static ResettableIterator |
IteratorUtils.loopingIterator(java.util.Collection coll) |
Gets an iterator that loops continuously over the supplied collection.
|
static ResettableIterator |
IteratorUtils.singletonIterator(java.lang.Object object) |
Gets a singleton iterator.
|
Modifier and Type | Class | Description |
---|---|---|
protected static class |
AbstractDualBidiMap.BidiMapIterator |
Inner class MapIterator.
|
protected static class |
DualTreeBidiMap.BidiOrderedMapIterator |
Inner class MapIterator.
|
Modifier and Type | Class | Description |
---|---|---|
class |
ArrayIterator |
Implements an
Iterator over any array. |
class |
ArrayListIterator |
Implements a
ListIterator over an array. |
class |
EmptyIterator |
Provides an implementation of an empty iterator.
|
class |
EmptyListIterator |
Provides an implementation of an empty list iterator.
|
class |
EmptyMapIterator |
Provides an implementation of an empty map iterator.
|
class |
EmptyOrderedIterator |
Provides an implementation of an empty ordered iterator.
|
class |
EmptyOrderedMapIterator |
Provides an implementation of an empty ordered map iterator.
|
class |
EntrySetMapIterator |
Implements a
MapIterator using a Map entrySet. |
class |
ListIteratorWrapper |
Converts an iterator into a list iterator by caching the returned entries.
|
class |
LoopingIterator |
An Iterator that restarts when it reaches the end.
|
class |
LoopingListIterator |
A ListIterator that restarts when it reaches the end or when it
reaches the beginning.
|
class |
ObjectArrayIterator |
An
Iterator over an array of objects. |
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 |
SingletonIterator |
SingletonIterator is an Iterator over a single
object instance. |
class |
SingletonListIterator |
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 | Class | Description |
---|---|---|
protected static class |
AbstractLinkedMap.EntrySetIterator |
EntrySet iterator.
|
protected static class |
AbstractLinkedMap.KeySetIterator |
KeySet iterator.
|
protected static class |
AbstractLinkedMap.LinkIterator |
Base Iterator that iterates in link order.
|
protected static class |
AbstractLinkedMap.LinkMapIterator |
MapIterator implementation.
|
protected static class |
AbstractLinkedMap.ValuesIterator |
Values iterator.
|
Copyright © 2001-2017 Apache Software Foundation. All Rights Reserved.