public class ClojurePersistentHashSet<K> extends PersistentSet<K>
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Object key) |
static <K> PersistentSet<K> |
create(Class<? extends Set> cls) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<K> |
iterator() |
int |
size() |
PersistentSet<K> |
with(K key) |
PersistentSet<K> |
without(K key) |
createremoveAlladd, addAll, clear, containsAll, remove, retainAll, toArray, toArray, toStringpublic static <K> PersistentSet<K> create(Class<? extends Set> cls)
public PersistentSet<K> with(K key)
with in class PersistentSet<K>public PersistentSet<K> without(K key)
without in class PersistentSet<K>public boolean contains(Object key)
contains in interface Collection<K>contains in interface Set<K>contains in class AbstractCollection<K>public int size()
size in interface Collection<K>size in interface Set<K>size in class AbstractCollection<K>public boolean isEmpty()
isEmpty in interface Collection<K>isEmpty in interface Set<K>isEmpty in class AbstractCollection<K>public boolean equals(Object o)
equals in interface Collection<K>equals in interface Set<K>equals in class AbstractSet<K>public int hashCode()
hashCode in interface Collection<K>hashCode in interface Set<K>hashCode in class AbstractSet<K>Copyright © 2009-2014 Google. All Rights Reserved.