flix

0.78.0

Node

Functions on the entry nodes of the hash map.

Definitions

def getBucketNext(e: Node[k, v, r]): Option[Node[k, v, r]] \ r§ Source

Returns the next entry in the same bucket as e, if any.

def getHash(e: Node[k, v, r]): Int32§ Source

Returns the cached hash code of the key of the entry e.

def getKey(e: Node[k, v, r]): k§ Source

Returns the key of the entry e.

def getOrderNext(e: Node[k, v, r]): Option[Node[k, v, r]] \ r§ Source

Returns the entry following e in insertion order, if any.

def getOrderPrev(e: Node[k, v, r]): Option[Node[k, v, r]] \ r§ Source

Returns the entry preceding e in insertion order, if any.

def getValue(e: Node[k, v, r]): v \ r§ Source

Returns the value of the entry e.

def setBucketNext(next: Option[Node[k, v, r]], e: Node[k, v, r]): Unit \ r§ Source

Sets the next entry in the same bucket as e to next.

def setOrderNext(next: Option[Node[k, v, r]], e: Node[k, v, r]): Unit \ r§ Source

Sets the entry following e in insertion order to next.

def setOrderPrev(prev: Option[Node[k, v, r]], e: Node[k, v, r]): Unit \ r§ Source

Sets the entry preceding e in insertion order to prev.

def setValue(v: v, e: Node[k, v, r]): Unit \ r§ Source

Sets the value of the entry e to v.