public static final class ImmutableList.JavaBasedImmutableList<E> extends java.lang.Object implements ImmutableList<E>, java.io.Serializable
ImmutableList.JavaBasedImmutableList<E>Sequence.µ| Modifier and Type | Method and Description |
|---|---|
ImmutableList<E> |
append(E element) |
ImmutableList<E> |
appendAll(Sequence<E> other) |
boolean |
contains(E element) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.util.Iterator<E> |
iterator() |
ImmutableList<E> |
remove(E element) |
ImmutableList<E> |
removeAll(Sequence<E> other) |
ImmutableList<E> |
reverse() |
int |
size() |
ImmutableList<E> |
sort(java.util.Comparator<E> comparator) |
java.util.List<E> |
toList() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitdrop, empty, filter, flatMap, from, from, head, map, of, tailpublic ImmutableList<E> reverse()
public ImmutableList<E> sort(java.util.Comparator<E> comparator)
sort in interface ImmutableList<E>public ImmutableList<E> append(E element)
public ImmutableList<E> remove(E element)
public ImmutableList<E> appendAll(Sequence<E> other)
public ImmutableList<E> removeAll(Sequence<E> other)
public java.util.Iterator<E> iterator()
iterator in interface java.lang.Iterable<E>public java.util.List<E> toList()
toList in interface ImmutableList<E>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object