|
APTCONVERT 1.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfr.pixware.util.HashtableUtil
public class HashtableUtil
A collection of utility functions (static methods) operating on Hashtable.
| Constructor Summary | |
|---|---|
HashtableUtil()
|
|
| Method Summary | |
|---|---|
static java.lang.String[] |
getAllElements(java.util.Hashtable map)
Returns the elements contained in a Hashtable as an array of Strings. |
static void |
putAll(java.util.Hashtable map,
java.lang.String[] pairs)
Adds pairs of key/value Strings to a Hashtable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HashtableUtil()
| Method Detail |
|---|
public static void putAll(java.util.Hashtable map,
java.lang.String[] pairs)
map - the Hashtable to be updatedpairs - an even number of String: a key followed by its value;
each key/value pair is added to the hashtable (possibly replacing an
existing entry with the same key).public static java.lang.String[] getAllElements(java.util.Hashtable map)
map - the Hashtable to be queried; assumed to contain String
elements
|
APTCONVERT 1.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||