|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.util.collect.EnclosedIterable.ListResolver<T>
public static class EnclosedIterable.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 | |
---|---|
EnclosedIterable.ListResolver()
|
Method Summary | |
---|---|
java.util.List<T> |
get(EnclosedIterable<T> iterable)
Get an ArrayList of the contents of the supplied EnclosedIterable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnclosedIterable.ListResolver()
Method Detail |
---|
public java.util.List<T> get(EnclosedIterable<T> iterable)
ArrayList
of the contents of the supplied EnclosedIterable
get
in interface Resolver<EnclosedIterable<T>,java.util.List<T>>
get
in interface com.atlassian.util.concurrent.Function<EnclosedIterable<T>,java.util.List<T>>
iterable
- the input object to resolve from.
ArrayList
containing all elements of the iterable.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |