public static class

EnclosedIterable.ListResolver

extends Object
implements Resolver<I, O>
java.lang.Object
   ↳ com.atlassian.jira.util.collect.EnclosedIterable.ListResolver<T>

Class Overview

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.

Summary

Public Constructors
EnclosedIterable.ListResolver()
Public Methods
List<T> get(EnclosedIterable<T> iterable)
Get an ArrayList of the contents of the supplied EnclosedIterable
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.util.Function
From interface com.atlassian.jira.util.Resolver
From interface com.atlassian.util.concurrent.Function

Public Constructors

public EnclosedIterable.ListResolver ()

Public Methods

public List<T> get (EnclosedIterable<T> iterable)

Get an ArrayList of the contents of the supplied EnclosedIterable

Returns
  • a mutable ArrayList containing all elements of the iterable.