|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.util.collect.CloseableIterator.ListResolver<T>
public static class CloseableIterator.ListResolver<T>
Utility class for transforming a EnclosedIterable
into a List
. Generally you only want to do
this when the size of the iterable is small as it loads all the elements into memory.
Constructor Summary | |
---|---|
CloseableIterator.ListResolver()
|
Method Summary | |
---|---|
java.util.List<T> |
get(CloseableIterator<T> it)
Get an ArrayList of the contents of the supplied CloseableIterator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CloseableIterator.ListResolver()
Method Detail |
---|
public java.util.List<T> get(CloseableIterator<T> it)
ArrayList
of the contents of the supplied CloseableIterator
ArrayList
containing all elements of the iterator.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |