| Constructor and Description |
|---|
CountedSchedule(FutureTimepoint when,
PositiveN count)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
PositiveN |
count() |
boolean |
equals(java.lang.Object x) |
static CountedSchedule |
first() |
CountedSchedule |
next(FutureTimepoint when)
Creates a new schedule for the requested time with a counter increased
by one with respect to the current
counter. |
public CountedSchedule(FutureTimepoint when, PositiveN count)
when - at which future point in time deliver the message.count - how many times the delivery has been requested.java.lang.NullPointerException - if any argument is null.public static CountedSchedule first()
counter initialized to 1.public PositiveN count()
public CountedSchedule next(FutureTimepoint when)
counter.when - at which future point in time deliver the message.java.lang.NullPointerException - if the argument is null.