public class ListBuilder<T>
extends java.lang.Object
Constructor and Description |
---|
ListBuilder() |
Modifier and Type | Method and Description |
---|---|
ListBuilder<T> |
add(T element) |
java.util.List<T> |
asList() |
static java.util.List |
create(java.util.Iterator it) |
static java.util.List |
create(java.lang.Object... elements) |
public static java.util.List create(java.lang.Object... elements)
public static java.util.List create(java.util.Iterator it)
public ListBuilder<T> add(T element)
public java.util.List<T> asList()