Example usage for Java org.apache.commons.collections IteratorUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
ResettableIterator | EMPTY_ITERATOR An iterator over no elements. |
ResettableListIterator | EMPTY_LIST_ITERATOR A list iterator over no elements. |
ResettableIterator | arrayIterator(Object[] array) Gets an iterator over an object array. |
ResettableIterator | arrayIterator(Object array) Gets an iterator over an object or primitive array. |
Enumeration | asEnumeration(Iterator iterator) Gets an enumeration that wraps an iterator. |
Iterator | asIterator(Enumeration enumeration) Gets an iterator that provides an iterator view of the given enumeration. |
Iterator | chainedIterator(Iterator iterator1, Iterator iterator2) Gets an iterator that iterates through two Iterator s one after another. |
Iterator | chainedIterator(Iterator[] iterators) Gets an iterator that iterates through an array of Iterator s one after another. |
Iterator | chainedIterator(Collection iterators) Gets an iterator that iterates through a collections of Iterator s one after another. |
Iterator | collatedIterator(Comparator comparator, Iterator[] iterators) Gets an iterator that provides an ordered iteration over the elements contained in an array of Iterator s. |
Iterator | collatedIterator(Comparator comparator, Collection iterators) Gets an iterator that provides an ordered iteration over the elements contained in a collection of Iterator s. |
ResettableIterator | emptyIterator() Gets an empty iterator. |
ResettableListIterator | emptyListIterator() Gets an empty list iterator. |
Iterator | filteredIterator(Iterator iterator, Predicate predicate) Gets an iterator that filters another iterator. |
ListIterator | filteredListIterator(ListIterator listIterator, Predicate predicate) Gets a list iterator that filters another list iterator. |
Iterator | getIterator(Object obj) Gets a suitable Iterator for the given object. |
ResettableIterator | singletonIterator(Object object) Gets a singleton iterator. |
Object[] | toArray(Iterator iterator, Class arrayClass) Gets an array based on an iterator. |
Object[] | toArray(Iterator iterator) Gets an array based on an iterator. |
List | toList(Iterator iterator) Gets a list based on an iterator. |
List | toList(Iterator iterator, int estimatedSize) Gets a list based on an iterator. |
ListIterator | toListIterator(Iterator iterator) Gets a list iterator based on a simple iterator. |
Iterator | transformedIterator(Iterator iterator, Transformer transform) Gets an iterator that transforms the elements of another iterator. |
Iterator | unmodifiableIterator(Iterator iterator) Gets an immutable version of an Iterator . |