Uses of Interface
org.apache.commons.collections4.ResettableIterator
Package
Description
Interfaces and utilities shared across all packages.
Implements the
Iterator
interface.-
Uses of ResettableIterator in org.apache.commons.collections4
Modifier and TypeInterfaceDescriptioninterface
Defines a list iterator that can be reset back to an initial state.Modifier and TypeFieldDescriptionstatic final ResettableIterator
IteratorUtils.EMPTY_ITERATOR
An iterator over no elements.Modifier and TypeMethodDescriptionstatic <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
(Object array) Gets an iterator over an object or primitive array.static <E> ResettableIterator<E>
IteratorUtils.arrayIterator
(Object array, int start) Gets an iterator over the end part of an object or primitive array.static <E> ResettableIterator<E>
IteratorUtils.arrayIterator
(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
(Collection<? extends E> collection) Gets an iterator that loops continuously over the supplied collection.static <E> ResettableIterator<E>
IteratorUtils.singletonIterator
(E object) Gets a singleton iterator. -
Uses of ResettableIterator in org.apache.commons.collections4.bidimap
Modifier and TypeClassDescriptionprotected static class
Inner class MapIterator.protected static class
Inner class MapIterator. -
Uses of ResettableIterator in org.apache.commons.collections4.iterators
Modifier and TypeClassDescriptionclass
Implements anIterator
over any array.class
Implements aListIterator
over an array.class
Provides an implementation of an empty iterator.class
Provides an implementation of an empty list iterator.class
EmptyMapIterator<K,
V> Provides an implementation of an empty map iterator.class
Provides an implementation of an empty ordered iterator.class
Provides an implementation of an empty ordered map iterator.class
EntrySetMapIterator<K,
V> Implements aMapIterator
using a Map entrySet.class
Converts anIterator
into aResettableListIterator
.class
An Iterator that restarts when it reaches the end.class
A ListIterator that restarts when it reaches the end or when it reaches the beginning.class
AnIterator
over an array of objects.class
Implements aListIterator
over an array of objects.class
Iterates backwards through a List, starting with the last element and continuing to the first.class
SingletonIterator
is anIterator
over a single object instance.class
SingletonIterator
is anListIterator
over a single object instance.Modifier and TypeFieldDescriptionstatic final ResettableIterator
EmptyIterator.RESETTABLE_INSTANCE
Singleton instance of the iterator.Modifier and TypeMethodDescriptionstatic <E> ResettableIterator<E>
EmptyIterator.resettableEmptyIterator()
Gets a typed resettable empty iterator instance. -
Uses of ResettableIterator in org.apache.commons.collections4.map
Modifier and TypeClassDescriptionprotected static class
EntrySet iterator.protected static class
KeySet iterator.protected static class
MapIterator implementation.protected static class
Values iterator.protected static class
OrderedMapIterator implementation.class
Adapts a Map entrySet to the MapIterator interface.