public static class Persistent.PList<A>
extends java.util.AbstractList<A>
Modifier and Type | Method and Description |
---|---|
Persistent.PList<java.util.List<A>> |
chunks() |
static <A> Persistent.PList<A> |
empty() |
A |
get(int index) |
java.util.Iterator<A> |
iterator() |
int |
size() |
Persistent.PList<A> |
with(A elem) |
Persistent.PList<A> |
withAll(A... elems) |
Persistent.PList<A> |
withAll(java.util.List<? extends A> elems) |
add, add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public int size()
public A get(int index)
public java.util.Iterator<A> iterator()
public Persistent.PList<java.util.List<A>> chunks()
public Persistent.PList<A> with(A elem)
public Persistent.PList<A> withAll(java.util.List<? extends A> elems)
public Persistent.PList<A> withAll(A... elems)
public static <A> Persistent.PList<A> empty()
see also the complete user documentation .