Package org.kigalisim.lang.time
Class CalculatedTimePointFuture
java.lang.Object
org.kigalisim.lang.time.CalculatedTimePointFuture
- All Implemented Interfaces:
TimePointFuture
A future timepoint which resolves to a calculated value.
A future timepoint which resolves to a value calculated through a PushDownMachine and expects that value to not yet have units.
-
Constructor Summary
ConstructorsConstructorDescriptionCalculatedTimePointFuture(Operation operation) Create a new CalculatedTimePointFuture. -
Method Summary
Modifier and TypeMethodDescriptionrealize(PushDownMachine machine) Realize the time point using the given machine.
-
Constructor Details
-
CalculatedTimePointFuture
Create a new CalculatedTimePointFuture.- Parameters:
operation- The calculation to perform to resolve this future.
-
-
Method Details
-
realize
Description copied from interface:TimePointFutureRealize the time point using the given machine.- Specified by:
realizein interfaceTimePointFuture- Parameters:
machine- Machine to use for calculations if needed.- Returns:
- The realized time point.
-