Java Utililty Methods Iterator to Array

List of utility methods to do Iterator to Array

Description

The list of methods to do Iterator to Array are organized into topic(s).

Method

Object[]toArray(final Iterator iterator, final int limit)
to Array
return toArray(iterator, new Object[limit], 0, limit);
ArrayListtoArrayList(final Iterator iter, final int estimatedSize)
to Array List
return addTo(iter, new ArrayList<T>(estimatedSize));