Method New ()
Creates a new empty IntMap.
Impressum, Datenschutzerklärung
An IntMap is a convenience class for mapping ints to values. More...
Extends | |
---|---|
Map : <Int,V> |
A map is a container style object that provides a mechanism for associating key objects with value objects. |
Constructors | |
---|---|
New () |
Creates a new empty IntMap. |
Methods | |
---|---|
Compare : Int ( lhs:Int, rhs:Int ) |
Implements the Map.Compare method. |
Inherited Methods | |
---|---|
Add : Bool ( key:K, value:V ) |
Adds a key/value pair to the map. |
Clear : Int () |
Removes all keys and values from the map. |
Contains : Bool ( key:K ) |
Return true if the specified key is contained in the map. |
Count : Int () |
Returns the number of key/value pairs in the map. |
FirstNode : Node<K,V> () |
Returns the first node in the map. |
Get : V ( key:K ) |
Returns the value contained in the map associated with the specified key. |
IsEmpty : Bool () |
Returns True if the map is empty, ie: contains no keys/values, else False. |
Keys : Object () |
Returns an object that can be used to iterate through all keys in a map with a For Eachin loop. |
LastNode : Node<K,V> () |
Returns the last node in the map. |
ObjectEnumerator : Object () |
Returns an object that can be used to enumerate all nodes in the map with a For EachIn loop. |
Remove : Int ( key:K ) |
Removes the key from the map. |
Set : Bool ( key:K, value:V ) |
Set the value in a map associated with the given key. |
Update : Bool ( key:K, value:V ) |
Updates an existing key/value pair. |
Values : Object () |
Returns an object that can be used to enumerate all values in the map with a For Eachin loop. |
An IntMap is a convenience class for mapping ints to values.
Method New ()
Creates a new empty IntMap.
Method Compare : Int ( lhs:Int, rhs:Int )
Implements the Map.Compare method.