|
DixShtix | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--com.dixshtix.midi.ReverseLookup
Utility Class to reverse-lookup strings into ints.
| Inner classes inherited from class java.util.Map |
java.util.Map.Entry |
| Fields inherited from class java.util.Hashtable |
count, emptyEnumerator, emptyIterator, ENTRIES, entrySet, KEYS, keySet, loadFactor, modCount, serialVersionUID, table, threshold, values, VALUES |
| Constructor Summary | |
ReverseLookup(java.lang.String[] array)
Creator of a hash table that "inverts" an array of Strings. |
|
| Method Summary | |
int |
lookup(java.lang.String name)
Given string, returns original array index. |
| Methods inherited from class java.util.Hashtable |
|
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait |
| Constructor Detail |
public ReverseLookup(java.lang.String[] array)
| Method Detail |
public int lookup(java.lang.String name)
|
DixShtix | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||