Uses of Class
com.amalgamasimulation.discreterate.Tank
Packages that use Tank
-
Uses of Tank in com.amalgamasimulation.discreterate
Methods in com.amalgamasimulation.discreterate with parameters of type TankModifier and TypeMethodDescriptionvoidTank.swapContents(Tank<T> tank) Swaps the contents of this flow element with the contents oftankTankelement.Method parameters in com.amalgamasimulation.discreterate with type arguments of type TankModifier and TypeMethodDescriptionvoidTank.addEmptyHandler(Consumer<Tank<T>> handler) Adds an action that will be executed every time this Tank becomes empty.voidTank.addFullHandler(Consumer<Tank<T>> handler) Adds an action that will be executed every time this Tank becomes full.voidTank.addInflowRateChangedHandler(Consumer<Tank<T>> handler) Adds an action that will be executed every time the inflow rate changes.voidTank.addOutflowRateChangedHandler(Consumer<Tank<T>> handler) Adds an action that will be executed every time the outflow rate changes.voidTank.removeEmptyHandler(Consumer<Tank<T>> handler) Removes the previously added empty Tank action.voidTank.removeFullHandler(Consumer<Tank<T>> handler) Removes the previously added full Tank action.voidTank.removeInflowRateChangedHandler(Consumer<Tank<T>> handler) Removes the previously added inflow rate change handler.voidTank.removeOutflowRateChangedHandler(Consumer<Tank<T>> handler) Removes the previously added outflow rate change handler.