C# Class clojure.lang.PersistentHashMap.LeafNode

Represents a leaf node in the tree, corresponding to single map entry (key/value).
Inheritance: clojure.lang.AMapEntry, INode
显示文件 Open project: arohner/clojure-contrib

Public Methods

Method Description
LeafNode ( int hash, object key, object val ) : System
assoc ( int shift, int hash, object key, object val, clojure.lang.Box addedLeaf ) : INode
find ( int hash, object key ) : INode
getHash ( ) : int
key ( ) : object
nodeSeq ( ) : ISeq
val ( ) : object
without ( int hash, object key ) : INode

Method Details

LeafNode() public method

public LeafNode ( int hash, object key, object val ) : System
hash int
key object
val object
return System

assoc() public method

public assoc ( int shift, int hash, object key, object val, clojure.lang.Box addedLeaf ) : INode
shift int
hash int
key object
val object
addedLeaf clojure.lang.Box
return INode

find() public method

public find ( int hash, object key ) : INode
hash int
key object
return INode

getHash() public method

public getHash ( ) : int
return int

key() public method

public key ( ) : object
return object

nodeSeq() public method

public nodeSeq ( ) : ISeq
return ISeq

val() public method

public val ( ) : object
return object

without() public method

public without ( int hash, object key ) : INode
hash int
key object
return INode