jtp.util
Class ArrayMap
java.lang.Object
|
+--java.util.AbstractMap
|
+--jtp.util.ArrayMap
- All Implemented Interfaces:
- Map, Serializable
- public class ArrayMap
- extends AbstractMap
- implements Serializable
ArrayMap.java
Created: Sun Dec 12 18:33:22 1999
- See Also:
- Serialized Form
empty
public static Map empty
ArrayMap
public ArrayMap()
ArrayMap
public ArrayMap(int size)
ArrayMap
public ArrayMap(List keys,
List values)
ArrayMap
public ArrayMap(Map map)
put
public Object put(Object key,
Object value)
- Specified by:
put
in interface Map
- Overrides:
put
in class AbstractMap
clear
public void clear()
- Specified by:
clear
in interface Map
- Overrides:
clear
in class AbstractMap
containsKey
public boolean containsKey(Object o)
- Specified by:
containsKey
in interface Map
- Overrides:
containsKey
in class AbstractMap
containsValue
public boolean containsValue(Object o)
- Specified by:
containsValue
in interface Map
- Overrides:
containsValue
in class AbstractMap
size
public int size()
- Specified by:
size
in interface Map
- Overrides:
size
in class AbstractMap
get
public Object get(Object key)
- Specified by:
get
in interface Map
- Overrides:
get
in class AbstractMap
entrySet
public Set entrySet()
- Specified by:
entrySet
in interface Map
- Specified by:
entrySet
in class AbstractMap