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