| |
|
| java.lang.Object org.openlaszlo.iv.flash.util.IVMap
IVMap | final public class IVMap (Code) | | Simple unsynchronized hashtable with integer keys.
author: Dmitry Skavish |
Inner Class :static class MyNode | |
Constructor Summary | |
public | IVMap() Create empty hashtable. |
Method Summary | |
public void | add(FlashDef def) Add flash definition to the hashtable by it's ID. | public void | clear() Clear hashtable. | protected void | expand() | public FlashDef | get(int key) Retrieve flash definition by integer key. | public void | put(int key, FlashDef def) Add flash definition to the hashtable by integer key. | public int | size() Number of objects in the hashtable. | public Enumeration | values() Enumeration of all the values (FlashDef's) of the hashtable. |
IVMap | public IVMap()(Code) | | Create empty hashtable.
|
add | public void add(FlashDef def)(Code) | | Add flash definition to the hashtable by it's ID.
Parameters: def - flash definition to add |
clear | public void clear()(Code) | | Clear hashtable.
|
expand | protected void expand()(Code) | | |
get | public FlashDef get(int key)(Code) | | Retrieve flash definition by integer key.
Parameters: key - defintion's key found flash defintion or null |
put | public void put(int key, FlashDef def)(Code) | | Add flash definition to the hashtable by integer key.
Parameters: key - object's key Parameters: def - flash definition to add |
size | public int size()(Code) | | Number of objects in the hashtable.
number of objects |
values | public Enumeration values()(Code) | | Enumeration of all the values (FlashDef's) of the hashtable.
values of the hashtable |
|
|
|