|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jreceiver.common.rec.BaseRec
Bean that serves as a common base class for all 'Rec' classes.
Constructor Summary | |
BaseRec()
|
Method Summary | |
static java.util.Vector |
dissolve(java.util.Vector vector)
Hash each hashable object that appears in the vector |
static java.util.Hashtable |
dissolveMap(java.util.Hashtable map)
Hash each hashable object that appears in the map |
static Rec |
find(java.util.List list,
int key_to_find)
given a list of records with int keys, locate the first one whose key matches key_to_find. |
static Rec |
find(java.util.List list,
Key key_to_find)
given a list of records with Key-derived keys, locate the first one whose key matches key_to_find. |
static Rec |
find(java.util.List list,
java.lang.Number key_to_find)
given a list of records with Number-derived keys, locate the first one whose key matches key_to_find. |
static Rec |
find(java.util.List list,
java.lang.String key_to_find)
given a list of records with String-derived keys, locate the first one whose key matches key_to_find. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BaseRec()
Method Detail |
public static java.util.Vector dissolve(java.util.Vector vector)
Requires that each object be derived from Hashable. It will throw a ClassCastException if you give it a 'key' that is derived from Number or String.
If you pass it a vector containing Number or String-derived keys, it will throw a ClassCastException.
public static java.util.Hashtable dissolveMap(java.util.Hashtable map)
Requires that each value (not key) in the map be derived from Hashable.
public static Rec find(java.util.List list, Key key_to_find)
public static Rec find(java.util.List list, java.lang.String key_to_find)
public static Rec find(java.util.List list, java.lang.Number key_to_find)
public static Rec find(java.util.List list, int key_to_find)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |