public class IterableBuilder<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.Iterator<T> |
it |
java.util.List<T> |
l |
Constructor and Description |
---|
IterableBuilder() |
IterableBuilder(java.util.Iterator<T> iterator) |
Modifier and Type | Method and Description |
---|---|
IterableBuilder |
add(java.util.Iterator<T> iterator) |
IterableBuilder |
add(T value) |
java.lang.Iterable<T> |
build() |
java.lang.Iterable<T> |
build(java.util.Iterator<T> it) |
public IterableBuilder()
public IterableBuilder(java.util.Iterator<T> iterator)
public IterableBuilder add(java.util.Iterator<T> iterator)
public IterableBuilder add(T value)
public java.lang.Iterable<T> build()