
aQute.lib.collections.IteratorList Maven / Gradle / Ivy
The newest version!
package aQute.lib.collections;
import java.util.ArrayList;
import java.util.Iterator;
public class IteratorList extends ArrayList {
private static final long serialVersionUID = 1L;
public IteratorList(Iterator extends T> i) {
while (i.hasNext())
add(i.next());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy