C# Class clojure.lang.PersistentHashSet

Inheritance: APersistentSet, IObj, IEditableCollection
Afficher le fichier Open project: richhickey/clojure-clr Class Usage Examples

Méthodes publiques

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.

Private Methods

Méthode Description
PersistentHashSet ( IPersistentMap meta, IPersistentMap impl ) : System

Initialize a PersistentHashSet to use given metadata and underlying map.

create ( ) : PersistentHashSet
create ( IList init ) : PersistentHashSet
create ( ISeq items ) : PersistentHashSet
createWithCheck ( ) : PersistentHashSet
createWithCheck ( IList init ) : PersistentHashSet
createWithCheck ( ISeq items ) : PersistentHashSet

Method Details

asTransient() public méthode

public asTransient ( ) : ITransientCollection
Résultat ITransientCollection

cons() public méthode

Returns a new collection that has the given element cons'd on front of the existing collection.
public cons ( object o ) : IPersistentCollection
o object An item to put at the front of the collection.
Résultat IPersistentCollection

disjoin() public méthode

Get a set with the given item removed.
public disjoin ( object key ) : IPersistentSet
key object The item to remove.
Résultat IPersistentSet

empty() public méthode

Gets an empty collection of the same type.
public empty ( ) : IPersistentCollection
Résultat IPersistentCollection

meta() public méthode

public meta ( ) : IPersistentMap
Résultat IPersistentMap

withMeta() public méthode

Create a copy with new metadata.
public withMeta ( IPersistentMap meta ) : IObj
meta IPersistentMap The new metadata.
Résultat IObj