Index


AssociativeArray Object


Also:
LCP
        Array

 o get(String)
 o put(String, String)

 o remove(String)

 o containsKey(String)

 o contains(String)

 o toString()

 o isEmpty()

 o size()

 o keys()


 o get

String get(String key)

Returns the string associated with key in the AssociativeArray,
or null if key is not a key of the AssociativeArray.

 o put

void put(String key, String str)

Puts str into the AssociativeArray under key.
   

 o remove

  void remove(String key)

  Removes the string corresponding to key.
   

 o containsKey

  boolean containsKey(String key)

  Returns true if the AssociativeArray contains a String under key
   

 o contains

  boolean contains(String str)

  Returns true if str is an element of the AssociativeArray.

 o toString

  String toString()

  Returns a string composed of the key/string pairs.

 o isEmpty

  boolean isEmpty()

  Returns true if the AssociativeArray contains no strings. 

 o size

  int size()

  Returns the number of key/string pairs in the AssociativeArray.

 o keys

  Enumeration keys()

  Returns an Enumeration containing all the keys in the AssociativeArray.


Index