Méthode | Description | |
---|---|---|
asTransient ( ) : ITransientCollection | ||
cons ( object o ) : IPersistentCollection |
Returns a new collection that has the given element cons'd on front of the existing collection.
|
|
disjoin ( object key ) : IPersistentSet |
Get a set with the given item removed.
|
|
empty ( ) : IPersistentCollection |
Gets an empty collection of the same type.
|
|
meta ( ) : IPersistentMap | ||
withMeta ( IPersistentMap meta ) : IObj |
Create a copy with new metadata.
|
Méthode | Description | |
---|---|---|
PersistentHashSet ( IPersistentMap meta, IPersistentMap impl ) : System |
Initialize a
|
|
create ( ) : |
||
create ( IList init ) : |
||
create ( ISeq items ) : |
||
createWithCheck ( ) : |
||
createWithCheck ( IList init ) : |
||
createWithCheck ( ISeq items ) : |
public asTransient ( ) : ITransientCollection | ||
Résultat | ITransientCollection |
public cons ( object o ) : IPersistentCollection | ||
o | object | An item to put at the front of the collection. |
Résultat | IPersistentCollection |
public disjoin ( object key ) : IPersistentSet | ||
key | object | The item to remove. |
Résultat | IPersistentSet |
public withMeta ( IPersistentMap meta ) : IObj | ||
meta | IPersistentMap | The new metadata. |
Résultat | IObj |