|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<String,Activity>
net.kwfgrid.gwes.ActivityTable
public final class ActivityTable
An activity table is an extended Hashtable with Activities as values and their corresponding activity instance identifiers as keys.
| Constructor Summary | |
|---|---|
ActivityTable()
|
|
| Method Summary | |
|---|---|
Activity |
get(String activityID)
Returns the activity to which the specified activityID is mapped in this hashtable. |
Activity |
put(String activityID,
Activity activity)
Maps the specified activityID to the specified
activity in this table. |
Activity |
remove(String activityID)
Removes the activityID (and its corresponding activity) from this hashtable. |
| Methods inherited from class java.util.Hashtable |
|---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ActivityTable()
| Method Detail |
|---|
public final Activity put(String activityID,
Activity activity)
activityID to the specified
activity in this table. Neither the activityID nor the
activity can be null.
put in interface Map<String,Activity>put in class Hashtable<String,Activity>activityID - The activity identifieractivity - The activity
null if it did not have one.public final Activity get(String activityID)
activityID - a activityID in the hashtable.
null if the activityID is not mapped to any activity
this hashtable.
NullPointerException - if the activityID is null.put(String, Activity)public final Activity remove(String activityID)
activityID - the activityID that needs to be removed.
null if the activityID did not have a mapping.
NullPointerException - if the activityID is null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||