IntHash
You are viewing an old version of this entry, click here to see latest version.
class IntHash<T>Available in flash, flash9, neko, js, php, cpp
function new() : VoidCreates a new empty hashtable.
function exists( key : Int ) : BoolTells if a value exists for the given key. In particular, it's useful to tell if a key has a
Hashtable over a set of elements, using Int as keys. On Flash and Javascript, the underlying structure is an Object.
null value versus no value.
function get( key : Int ) : Null<T>Get a value for the given key.
function iterator() : Iterator<T>Returns an iterator of all values in the hashtable.
function keys() : Iterator<Int>Returns an iterator of all keys in the hashtable.
function remove( key : Int ) : BoolRemoves a hashtable entry. Returns true if there was such entry.
function set( key : Int, value : T ) : VoidSet a value for the given key.
function toString() : StringReturns an displayable representation of the hashtable content.
chat odaları
sohbet odaları
chat odası
mynet
ankara sohbet
forum siteleri
forum siteleri
chat
version #12453, modified 2012-02-21 15:38:33 by Anonymous
0 comment