public class PersistentTreeSet extends APersistentSet implements Reversible, Sorted
Modifier and Type | Field and Description |
---|---|
static PersistentTreeSet |
EMPTY |
Modifier and Type | Method and Description |
---|---|
java.util.Comparator |
comparator() |
IPersistentSet |
cons(java.lang.Object o) |
static PersistentTreeSet |
create(ISeq items) |
static PersistentTreeSet |
create(java.util.List init) |
static PersistentTreeSet |
create(java.lang.Object... init) |
IPersistentSet |
disjoin(java.lang.Object key) |
IPersistentCollection |
empty() |
java.lang.Object |
entryKey(java.lang.Object entry) |
ISeq |
rseq() |
ISeq |
seq(boolean ascending) |
ISeq |
seqFrom(java.lang.Object key,
boolean ascending) |
PersistentTreeSet |
withMeta(IPersistentMap meta) |
add, addAll, clear, contains, containsAll, count, equals, equiv, get, hashCode, invoke, isEmpty, iterator, remove, removeAll, retainAll, seq, size, toArray, toArray, toString
applyTo, applyToHelper, call, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, run, throwArity
public static final PersistentTreeSet EMPTY
public static PersistentTreeSet create(java.lang.Object... init)
public static PersistentTreeSet create(java.util.List init)
public static PersistentTreeSet create(ISeq items)
public IPersistentSet disjoin(java.lang.Object key) throws java.lang.Exception
disjoin
in interface IPersistentSet
java.lang.Exception
public IPersistentSet cons(java.lang.Object o)
cons
in interface IPersistentCollection
public IPersistentCollection empty()
empty
in interface IPersistentCollection
public ISeq rseq() throws java.lang.Exception
rseq
in interface Reversible
java.lang.Exception
public PersistentTreeSet withMeta(IPersistentMap meta)
public java.util.Comparator comparator()
comparator
in interface Sorted
public java.lang.Object entryKey(java.lang.Object entry)