|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMapModel
An object that maps keys to values. A map cannot contain duplicate keys; each key can map to at most one value.
Method Summary | |
---|---|
IModel |
get(java.lang.Object key)
Returns the value to which this map maps the specified key. |
java.lang.Object[] |
keys()
Returns an array view of the keys contained in this map. |
void |
put(java.lang.Object key,
IModel model)
Associates the specified value with the specified key in this map |
IModel |
remove(java.lang.Object key)
Removes the mapping for this key from this map if it is present |
int |
size()
Returns the number of key-value mappings in this map. |
Methods inherited from interface com.ibm.btt.model.IModel |
---|
getContent |
Method Detail |
---|
IModel get(java.lang.Object key) throws ObjectNotFoundException
key
- key whose associated value is to be returned.
ObjectNotFoundException
- if the element is not found with the keyvoid put(java.lang.Object key, IModel model)
key
- key with which the specified value is to be associated.model
- value to be associated with the specified key.int size()
java.lang.Object[] keys()
IModel remove(java.lang.Object key) throws ObjectNotFoundException
key
- key whose mapping is to be removed from the map.
ObjectNotFoundException
- if the element isn't exist with the key element
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |