|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.common.utils.IteratorUtils
public class IteratorUtils
Various utilities to work with iterators more easily.
Constructor Summary | |
---|---|
IteratorUtils()
|
Method Summary | ||
---|---|---|
static
|
toList(java.util.Iterator<T> i)
Turns an iterator into a list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IteratorUtils()
Method Detail |
---|
public static <T> java.util.List<T> toList(java.util.Iterator<T> i)
i
- an iterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |