Uses of Class
com.amalgamasimulation.discreterate.ReversibleConveyor
Packages that use ReversibleConveyor
-
Uses of ReversibleConveyor in com.amalgamasimulation.discreterate
Methods in com.amalgamasimulation.discreterate that return ReversibleConveyorModifier and TypeMethodDescriptionReversibleConveyor.Builder.build()Creates a new ReversibleConveyor instance.Method parameters in com.amalgamasimulation.discreterate with type arguments of type ReversibleConveyorModifier and TypeMethodDescriptionvoidReversibleConveyor.addEmptyHandler(Consumer<ReversibleConveyor<T>> handler) Adds an action that will be executed every time this Conveyor becomes empty.voidReversibleConveyor.addInflowRateChangedHandler(BiConsumer<ReversibleConveyor<T>, FlowConnection<T>> handler) Adds an action that will be executed every time the inflow rate changes.voidReversibleConveyor.addOutflowRateChangedHandler(BiConsumer<ReversibleConveyor<T>, FlowConnection<T>> handler) Adds an action that will be executed every time the outflow rate changes.voidReversibleConveyor.addSpeedChangedHandler(Consumer<ReversibleConveyor<T>> handler) Adds an action that will be executed every time the speed changes.voidReversibleConveyor.removeEmptyHandler(Consumer<ReversibleConveyor<T>> handler) Removes a previously added empty Conveyor action.voidReversibleConveyor.removeInflowRateChangedHandler(BiConsumer<ReversibleConveyor<T>, FlowConnection<T>> handler) Removes the previously added inflow rate change handler.voidReversibleConveyor.removeOutflowRateChangedHandler(BiConsumer<ReversibleConveyor<T>, FlowConnection<T>> handler) Removes the previously added outflow rate change handler.voidReversibleConveyor.removeSpeedChangedHandler(Consumer<ReversibleConveyor<T>> handler) Removes the previously added speed change handler.