| Modifier and Type | Field and Description |
|---|---|
| public static final Iterator |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | |
| public static void | |
| public static void | |
| public static Iterator | |
| public static Object[] | |
| public static Object[] | |
| public static Object[] | |
| public static ArrayList |
| EMPTY_ITERATOR | back to summary |
|---|---|
| public static final Iterator<E> EMPTY_ITERATOR | |
| IteratorUtils | back to summary |
|---|---|
| private IteratorUtils() | |
| equivalent | back to summary |
|---|---|
| public static boolean equivalent(Iterator<E> ii, Iterator<E> jj) | |
| fillArray | back to summary |
|---|---|
| public static void fillArray(Iterator<E> ii, Object[] fillMe, boolean null_terminate) Fills an array with the contents of an iterator. If the array is too small, it will contain the first portion of the iterator. If the array can contain more elements than the iterator, extra elements are left untouched, unless null_terminate is set to true, in which case the element immediately following the last from the iterator is set to null. (This method is intended to make it easy to implement Collection.toArray(Object[] oo) methods...
| |
| fillArray | back to summary |
|---|---|
| public static void fillArray(Iterator<E> ii, Object[] fillMe) | |
| oneElementUnmodifiableIterator | back to summary |
|---|---|
| public static Iterator | |
| toArray | back to summary |
|---|---|
public static Object[] toArray(Iterator<E> ii, int array_size, Class<T> componentClass, boolean null_terminate)
| |
| toArray | back to summary |
|---|---|
| public static Object[] toArray(Iterator<E> ii, int array_size, Class<T> componentClass) | |
| toArray | back to summary |
|---|---|
| public static Object[] toArray(Iterator<E> ii, int ii_size, Object[] maybeFillMe) Designed to help implement Collection.toArray(Object[] )methods... does the right thing if you can express an iterator and know the size of your Collection. | |
| toArrayList | back to summary |
|---|---|
| public static ArrayList | |