List of utility methods to do Iterator to Array
Object[] | toArray(final Iterator> iterator, final int limit) to Array return toArray(iterator, new Object[limit], 0, limit); |
ArrayList | toArrayList(final Iterator to Array List return addTo(iter, new ArrayList<T>(estimatedSize)); |