C# 클래스 clojure.lang.PersistentHashSet

상속: APersistentSet, IObj, IEditableCollection
파일 보기 프로젝트 열기: richhickey/clojure-clr 1 사용 예제들

공개 메소드들

메소드 설명
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