Package | Description |
---|---|
com.google.javascript.jscomp.newtypes |
Modifier and Type | Class and Description |
---|---|
class |
ClojurePersistentHashSet<K>
A persistent set that simply wraps Clojure's implementation
|
class |
NaivePersistentSet<K>
A naive persistent set that does too many copies
|
Modifier and Type | Method and Description |
---|---|
static <K> PersistentSet<K> |
PersistentSet.create() |
static <K> PersistentSet<K> |
NaivePersistentSet.create() |
static <K> PersistentSet<K> |
ClojurePersistentHashSet.create(Class<? extends Set> cls) |
abstract PersistentSet<K> |
PersistentSet.with(K key) |
PersistentSet<K> |
ClojurePersistentHashSet.with(K key) |
PersistentSet<K> |
NaivePersistentSet.with(K key) |
abstract PersistentSet<K> |
PersistentSet.without(K key) |
PersistentSet<K> |
ClojurePersistentHashSet.without(K key) |
PersistentSet<K> |
NaivePersistentSet.without(K key) |
Copyright © 2009–2017 Google. All rights reserved.