structs.Node Extends
A generic immutable node. This can be used in various collections that require a node object for its item (such as a heap).

Inheritance

Constructor

goog.structs.Node(keyvalue)

Parameters

key : K
Key.
value : V
Value.

Instance Methods

Public Protected Private
clone() !goog.structs.Node.<K, V>
Clones a node and returns a new node.
Returns: !goog.structs.Node.<K, V>  A new goog.structs.Node with the same key value pair.
code »
getKey() K
Gets the key.
Returns: K  The key.
code »
getValue() V
Gets the value.
Returns: V  The value.
code »

Instance Properties

key_ :
The key.
Code »
value_ :
The value.
Code »

Package structs

Package Reference