public static class Persistent.PSet<A>
extends java.util.AbstractSet<A>
Modifier and Type | Method and Description |
---|---|
Persistent.PList<java.util.Set<A>> |
chunks() |
boolean |
contains(java.lang.Object elem) |
static <A> Persistent.PSet<A> |
empty() |
java.util.Iterator<A> |
iterator() |
int |
size() |
Persistent.PSet<A> |
with(A elem) |
Persistent.PSet<A> |
withAll(A... elems) |
Persistent.PSet<A> |
withAll(java.util.Collection<? extends A> elems) |
add, addAll, clear, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public PSet()
public PSet(java.util.Set<A> elems)
public int size()
public boolean contains(java.lang.Object elem)
public java.util.Iterator<A> iterator()
public Persistent.PList<java.util.Set<A>> chunks()
public Persistent.PSet<A> with(A elem)
public Persistent.PSet<A> withAll(java.util.Collection<? extends A> elems)
public Persistent.PSet<A> withAll(A... elems)
public static <A> Persistent.PSet<A> empty()
see also the complete user documentation .