Package | Description |
---|---|
org.uob.braveapi.dispatcher | |
org.uob.braveapi.dispatcher.api | |
org.uob.braveapi.util |
Modifier and Type | Method and Description |
---|---|
void |
IncidentDispatcher.addStoppedTrain(java.lang.String train,
APITime time,
APITime scheduledDeparture,
java.lang.String stopName,
int minimumStop) |
void |
DefaultDispatcher.addStoppedTrain(java.lang.String train,
APITime time,
APITime scheduledDeparture,
java.lang.String stopName,
int minimumStop) |
void |
SeededRandomDispatcher.addStoppedTrain(java.lang.String train,
APITime time,
APITime scheduledDeparture,
java.lang.String stopName,
int minimumStop) |
void |
DefaultDispatcher.initialise(BraveDispatcherContext context,
APITime startTime) |
void |
SeededRandomDispatcher.initialise(BraveDispatcherContext context,
APITime startTime)
Add seed initialisation to the initialise method of the parent class.
|
void |
DefaultDispatcher.update(APITime time) |
Modifier and Type | Method and Description |
---|---|
APITime |
DispatchRecord.getTime()
Gets the time of dispatch for this record.
|
Modifier and Type | Method and Description |
---|---|
void |
APIDispatcher.addStoppedTrain(java.lang.String train,
APITime time,
APITime scheduledDeparture,
java.lang.String stopName,
int minimumStop) |
void |
APIDispatcher.initialise(BraveDispatcherContext context,
APITime startTime) |
void |
DispatchRecord.setTime(APITime time)
Sets the time for the dispatch in this record
|
void |
APIDispatcher.update(APITime time) |
Constructor and Description |
---|
DispatchRecord(APITime time,
java.lang.String train)
Construct a Dispatch Record.
|
Modifier and Type | Method and Description |
---|---|
APITime |
APITime.addSeconds(int seconds)
Add the seconds and return the resulting time object.
|
APITime |
APITime.subSeconds(int seconds)
Subtract the seconds and return the resulting time object.
|
Modifier and Type | Method and Description |
---|---|
int |
APITime.compareTo(APITime o) |
int |
APITime.compareToExcludingDay(APITime o) |
boolean |
APITime.equals(APITime o) |
Constructor and Description |
---|
APITime(APITime time) |