Purple Code

Class ArrayMap

All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class ArrayMap
extends java.util.HashMap

A HashMap that can be constructed with an Object array.

See Also:
Serialized Form

Constructor Summary
ArrayMap(java.lang.Object[] init)
          Usage: Map m = new ArrayMap( new String[] { "firstname", "Alex", "lastname", "Chaffee" } );
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


public ArrayMap(java.lang.Object[] init)
Usage: Map m = new ArrayMap( new String[] { "firstname", "Alex", "lastname", "Chaffee" } );

Documentation generated March 5 2003