java.lang.Object | |
↳ | org.apache.commons.betwixt.expression.MapEntryAdder |
MapEntryAdder
is used to add entries to a map.
MapEntryAdder
supplies two updaters:
getKeyUpdater()
which allows the entry key to be updatedgetValueUpdater()
which allows the entry value to be updatedContext
passed by the last update will be used.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a
MapEntryAdder which adds entries to given method. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the entry key
Updater . | |||||||||||
Gets the entry value
Updater . | |||||||||||
Sets the logger used by this class.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Construct a MapEntryAdder
which adds entries to given method.
method | the Method called to add a key-value entry |
---|
IllegalArgumentException | if the given method does not take two parameters |
---|
Gets the entry key Updater
.
This is used to update the entry key value to the read value.
If getValueUpdater()
has been called previously,
then this trigger the updating of the adder method.
Updater
which should be used to populate the entry key
Gets the entry value Updater
.
This is used to update the entry key value to the read value.
If getKeyUpdater()
has been called previously,
then this trigger the updating of the adder method.
Updater
which should be used to populate the entry value
Sets the logger used by this class.
newLog | log to this |
---|