public class FPList<T>
extends java.lang.Object
implements java.lang.Iterable<T>
| Modifier and Type | Field and Description |
|---|---|
static int |
ARRAYLIST_DEFAULT_CAPACITY |
| Modifier and Type | Method and Description |
|---|---|
FPList<T> |
concat(java.lang.Iterable<? extends T>... iterables) |
FPList<T> |
distinct() |
boolean |
equals(java.lang.Object o) |
FPList<T> |
filter(FPPredicate<? super T> predicate) |
FPList<T> |
filterNonNull() |
int |
hashCode() |
java.util.Iterator<T> |
iterator() |
static <T> FPList<T> |
listOf(java.lang.Iterable<T> iterable) |
static <T> FPList<T> |
listOf(java.util.Iterator<T> iterator) |
static <T> FPList<T> |
listOf(T... items) |
<R> FPList<R> |
map(FPFunction<? super T,? extends R> mapper) |
FPList<T> |
plus(java.lang.Iterable<? extends T>... others) |
FPList<T> |
plus(T... c) |
int |
size() |
FPList<T> |
subtract(java.lang.Iterable<T> other) |
FPList<T> |
subtract(T... c) |
java.util.List<T> |
toList() |
java.lang.String |
toString() |
public static final int ARRAYLIST_DEFAULT_CAPACITY
@NotNull public static <T> FPList<T> listOf(@Nullable java.util.Iterator<T> iterator)
@NotNull public static <T> FPList<T> listOf(@Nullable java.lang.Iterable<T> iterable)
@NotNull public static <T> FPList<T> listOf(@Nullable T... items)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object@NotNull public java.util.List<T> toList()
@NotNull public java.util.Iterator<T> iterator()
iterator in interface java.lang.Iterable<T>public int size()
@NotNull public <R> FPList<R> map(@NotNull FPFunction<? super T,? extends R> mapper)
@NotNull public FPList<T> filter(@NotNull FPPredicate<? super T> predicate)