|
Side of Software Dated Collections Library 2.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface DatedCollections.Action<D>
Action to perform on a dated object at a period when it does not change. Clients
can create a (typically anonymous) instance of this interface to encapsulate
an action that should be performed on a dated object at certain date
ranges. The methods queryAtDates
and applyAtDates
use this interface.
DatedCollections.queryAtDates(sos.dated.util.DatedObject, D, D, sos.dated.util.DatedCollections.Action)
,
DatedCollections.applyAtDates(sos.dated.util.DatedObject, D, D, sos.dated.util.DatedCollections.Action)
Method Summary | |
---|---|
void |
perform(DatedObject<D> datedObject,
D from,
D to)
Carries out an action on the specified dated object during the specified static date range. |
Method Detail |
---|
void perform(DatedObject<D> datedObject, D from, D to)
queryAtDates
and applyAtDates
.
datedObject
- dated object to perform action onfrom
- start date (inclusive) of the static range to perform the actionto
- end date (exclusive) of the static range to perform the actionDatedCollections.queryAtDates(sos.dated.util.DatedObject, D, D, sos.dated.util.DatedCollections.Action)
,
DatedCollections.applyAtDates(sos.dated.util.DatedObject, D, D, sos.dated.util.DatedCollections.Action)
|
Side of Software Dated Collections Library 2.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |