C# Класс clojure.lang.PersistentHashSet

Наследование: APersistentSet, IObj, IEditableCollection
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

asTransient() публичный Метод

public asTransient ( ) : ITransientCollection
Результат ITransientCollection

cons() публичный Метод

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.
Результат IPersistentCollection

disjoin() публичный Метод

Get a set with the given item removed.
public disjoin ( object key ) : IPersistentSet
key object The item to remove.
Результат IPersistentSet

empty() публичный Метод

Gets an empty collection of the same type.
public empty ( ) : IPersistentCollection
Результат IPersistentCollection

meta() публичный Метод

public meta ( ) : IPersistentMap
Результат IPersistentMap

withMeta() публичный Метод

Create a copy with new metadata.
public withMeta ( IPersistentMap meta ) : IObj
meta IPersistentMap The new metadata.
Результат IObj