|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.types.TWSObjectMap
This class wraps a couple of maps where TWS objects can be stored and retrieved by identifier or name.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
TWSObjectMap()
Creates a new TWSObjectMap. |
Method Summary | |
---|---|
boolean |
contains(TWSObject object)
Returns true if the map contains the specified object. |
TWSObject |
get(TWSObject object)
Returns the object corresponding to the specified one in the map. |
java.util.Iterator |
iterator()
Returns an iterator of all TWS objects in this map. |
void |
put(TWSObject object)
Puts the specified object in the map. |
void |
remove(TWSObject object)
Removes the object corresponding to the specified one from the map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public TWSObjectMap()
Method Detail |
public void put(TWSObject object)
object
- A TWS object to be put in the map.public TWSObject get(TWSObject object)
object
- A TWS object whose identifier and name are used to retrieve an object in the map.
public void remove(TWSObject object)
object
- A TWS object whose identifier and name are used to retrieve an object in the map.public boolean contains(TWSObject object)
object
- A TWS object to be compared to those that are currently stored in the map.
public java.util.Iterator iterator()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |