|
OpMath | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--com.opmath.util.datastruct.InitializedHashtable
A functional extension to java.util.Hashtable.
InitializedHashtable is a utility class, providing specialized
Hashtable semantics.
The class extends Hashtable so as to to provide a constructor that
populates the Hashtable. This is essential in the case, for example,
of static final Hashtable valiables.
Copyright: (c) 2002 The Open Math Company Limited
The Terms of Distribution of this software are stipulated in the javadoc Overview for this project.
| Constructor Summary | |
InitializedHashtable(Object[] keys,
Object[] values)
Constructs a new InitializedHashtable instance. |
|
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public InitializedHashtable(Object[] keys,
Object[] values)
throws ArrayStoreException,
ArrayIndexOutOfBoundsException
Constructs a new InitializedHashtable instance. The table is populated
with a pair of arrays of type Object - one array suplying keys,
the other the associated values.
keys - the Object[] supplying the keys.values - the Object[] supplying the values.
ArrayStoreException - An exception thrown if
either parameter is nill.
ArrayIndexOutOfBoundsException - An exception thrown if
the parameters are not of the same length.
|
OpMath | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||