|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines how to store list contents in an object container.
Intended for use with Collection
s.
Effectively provides "boxing" for list-like objects.
Method Summary | |
Object |
addItem(Object value,
Object item)
Adds an item to a list storage element. |
List |
getList(Object value)
Returns the value of an object as a List. |
Method Detail |
public List getList(Object value)
value
should either be null
, or an object
returned by this object's addItem(java.lang.Object, java.lang.Object)
method.
value
- list storage element
value
public Object addItem(Object value, Object item)
value
should either be null
, or an object
returned by an earlier invocation of this method.
value
- list storage elementitem
- object to append to the list
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |