Class IfChanged<T>
java.lang.Object
microsim.IfChanged<T>
Watch the ouput of a Supplier, checking whether the returned value changed
since the last invocation.
This uses Object.equals(Object) to perform the comparison.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IfChanged
-
-
Method Details
-
time
Build anIfChangedthat checks whether the simulation time changed. -
get
-