|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.betwixt.expression.CollectionUpdater
public class CollectionUpdater
Updates a Collection by adding the new value to it.
Constructor Summary | |
---|---|
CollectionUpdater()
|
Method Summary | |
---|---|
static CollectionUpdater |
getInstance()
Gets singleton instance. |
void |
update(Context context,
java.lang.Object newValue)
Updates collection contained by the context by adding the new value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollectionUpdater()
Method Detail |
---|
public static CollectionUpdater getInstance()
CollectionUpdater
, not nullpublic void update(Context context, java.lang.Object newValue)
update
in interface Updater
context
- Context
, not nullnewValue
- value to be added, possibly null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |