Purple Code

com.purpletech.util
Class IntMap

java.lang.Object
  |
  +--java.util.AbstractMap
        |
        +--java.util.HashMap
              |
              +--com.purpletech.util.IntMap
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class IntMap
extends java.util.HashMap

a Map that accepts Integer keys

See Also:
Serialized Form

Constructor Summary
IntMap()
           
 
Method Summary
 java.lang.Object get(int x)
           
 java.lang.Object get(java.lang.String x)
           
 void put(int x, java.lang.Object val)
           
 void put(java.lang.String x, java.lang.Object val)
           
 void remove(int x)
           
 void remove(java.lang.String x)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

IntMap

public IntMap()
Method Detail

get

public java.lang.Object get(int x)

get

public java.lang.Object get(java.lang.String x)

put

public void put(int x,
                java.lang.Object val)

put

public void put(java.lang.String x,
                java.lang.Object val)

remove

public void remove(int x)

remove

public void remove(java.lang.String x)

Documentation generated March 5 2003