Uses of Class
com.amalgamasimulation.discreterate.FlowConnection
Packages that use FlowConnection
-
Uses of FlowConnection in com.amalgamasimulation.discreterate
Methods in com.amalgamasimulation.discreterate that return FlowConnectionModifier and TypeMethodDescriptionReversibleConveyor.backwardOutputConnectToElement(FlowElement<T> dest) Connects the backward output of this ReversibleConveyor to the input of thedestflow element.Conveyor.connectToElement(FlowElement<T> dest) FlowElement.connectToElement(FlowElement<T> dest) Connects the output of this flow element to the input of thedestflow element.ReversibleConveyor.connectToElement(FlowElement<T> dest) Connects the forward output of this ReversibleConveyor to the input of thedestflow element.FlowElement.disconnectFrom(FlowElement<T> destElement) Disconnects the current flow element from thedestElementflow element, if a connection from this flow element to thedestElementflow element exists.ReversibleConveyor.forwardOutputConnectToElement(FlowElement<T> dest) Connects the forward output of this ReversibleConveyor to the input of thedestflow element.FlowEnvironment.getFlowConnection(FlowElement<T> element1, FlowElement<T> element2) Methods in com.amalgamasimulation.discreterate that return types with arguments of type FlowConnectionModifier and TypeMethodDescriptionFlowElement.getInflowConnections()Returns an unmodifiable list ofFlowConnectioninstances that represent incoming connections of this flow element.FlowElement.getOutflowConnections()Returns the unmodifiable list ofFlowConnectioninstances that represent outgoing connections of this flow element.Methods in com.amalgamasimulation.discreterate with parameters of type FlowConnectionModifier and TypeMethodDescriptiondoubleMerge.getInflowPriority(FlowConnection<T> inflowConnection) Returns the priority of the specified inflow connection.Merge.getInflowRateDescriptor(FlowConnection<T> inflowConnection) Returns an Accumulator instance that describes the material flow rate at the specified input connection.doubleMerge.getInflowRateFraction(FlowConnection<T> inflowConnection) Returns the ratio of currentinflowConnectionflow rate to the overall inflow rate of this Merge.doubleConveyor.getLogicalOffsetForConnection(FlowConnection<T> inflowConnection) Returns the logical offset of the inputinflowConnection.doubleIAbstractConveyor.getLogicalOffsetForConnection(FlowConnection<T> inflowConnection) doubleReversibleConveyor.getLogicalOffsetForConnection(FlowConnection<T> inflowConnection) Returns the logical offset of the inputinflowConnection.doubleSplit.getOutflowPriority(FlowConnection<T> outflowConnection) Returns the priority of the specified outputoutflowConnection.Split.getOutflowRateDescriptor(FlowConnection<T> outflowConnection) Returns an Accumulator instance that describes the flow rate of material at the specified outflow connection.doubleSplit.getOutflowRateFraction(FlowConnection<T> outflowConnection) Returns the ratio of currentoutflowConnectionflow rate to the overall outflow rate of this Split.Bunker.getOutflowRateProportions(FlowConnection<T> flowConnection) Conveyor.getOutflowRateProportions(FlowConnection<T> outflowConnection) abstract Accumulator<T> FlowElement.getOutflowRateProportions(FlowConnection<T> outflowConnection) Returns anAccumulatorinstance that contains flow rate proportions of materials exported through theoutflowConnectionoutflow connection.Merge.getOutflowRateProportions(FlowConnection<T> outflowConnection) ReversibleConveyor.getOutflowRateProportions(FlowConnection<T> outflowConnection) Split.getOutflowRateProportions(FlowConnection<T> outflowConnection) Tank.getOutflowRateProportions(FlowConnection<T> outflowConnection) Valve.getOutflowRateProportions(FlowConnection<T> flowConnection) doubleConveyor.getRelativeOffsetForConnection(FlowConnection<T> inflowConnection) Returns the relative offset of the inputinflowConnection.doubleIAbstractConveyor.getRelativeOffsetForConnection(FlowConnection<T> inflowConnection) doubleReversibleConveyor.getRelativeOffsetForConnection(FlowConnection<T> inflowConnection) Returns the relative offset of the inputinflowConnection.voidMerge.setInflowPriority(FlowConnection<T> inflowConnection, double priority) Sets the priority of the inputinflowConnection.voidMerge.setInflowRateFraction(FlowConnection<T> inflowConnection, double rateFraction) Sets the fraction ofinflowConnection's actual flow rate in the overall inflow rate of this Merge.voidSplit.setOutflowPriority(FlowConnection<T> outflowConnection, double priority) Sets the priority of the outputoutflowConnection.voidSplit.setOutflowRateFraction(FlowConnection<T> outflowConnection, double rateFraction) Sets the fraction ofoutflowConnection's actual flow rate in the overall outflow rate of this Split.Method parameters in com.amalgamasimulation.discreterate with type arguments of type FlowConnectionModifier and TypeMethodDescriptionvoidFlowElement.addInflowElementConnectedHandler(Consumer<FlowConnection<T>> handler) Adds an action that will be executed every time when a new inflow element is connected.voidFlowElement.addInflowElementDisconnectedHandler(Consumer<FlowConnection<T>> handler) Adds an action that will be executed every time when a new inflow element is disconnected.voidConveyor.addInflowRateChangedHandler(BiConsumer<Conveyor<T>, FlowConnection<T>> handler) Adds an action that will be executed every time the inflow rate changes.voidReversibleConveyor.addInflowRateChangedHandler(BiConsumer<ReversibleConveyor<T>, FlowConnection<T>> handler) Adds an action that will be executed every time the inflow rate changes.voidFlowElement.addOutflowElementConnectedHandler(Consumer<FlowConnection<T>> handler) Adds an action that will be executed every time when a new outflow element is connected.voidFlowElement.addOutflowElementDisconnectedHandler(Consumer<FlowConnection<T>> handler) Adds an action that will be executed every time when a new outflow element is disconnected.voidReversibleConveyor.addOutflowRateChangedHandler(BiConsumer<ReversibleConveyor<T>, FlowConnection<T>> handler) Adds an action that will be executed every time the outflow rate changes.voidFlowElement.removeInflowElementConnectedHandler(Consumer<FlowConnection<T>> handler) Removes the previously added inflow element connect handler.voidFlowElement.removeInflowElementDisconnectedHandler(Consumer<FlowConnection<T>> handler) Removes the previously added inflow element disconnect handler.voidConveyor.removeInflowRateChangedHandler(BiConsumer<Conveyor<T>, FlowConnection<T>> handler) Removes the previously added inflow rate change handler.voidReversibleConveyor.removeInflowRateChangedHandler(BiConsumer<ReversibleConveyor<T>, FlowConnection<T>> handler) Removes the previously added inflow rate change handler.voidFlowElement.removeOutflowElementConnectedHandler(Consumer<FlowConnection<T>> handler) Removes the previously added outflow element connect handler.voidFlowElement.removeOutflowElementDisconnectedHandler(Consumer<FlowConnection<T>> handler) Removes the previously added outflow element disconnect handler.voidReversibleConveyor.removeOutflowRateChangedHandler(BiConsumer<ReversibleConveyor<T>, FlowConnection<T>> handler) Removes the previously added outflow rate change handler.voidSplit.setOutflowFractionSupplier(Function<FlowConnection<T>, Double> outflowFractionSupplier) Sets the supplier of the fraction ofoutflowConnection's actual flow rate in the overall outflow rate of this Split.voidSplit.setOutflowRateProportionsSupplier(Function<FlowConnection<T>, Accumulator<T>> outflowRateProportionsSupplier) Sets the supplier of the rate proportions ofoutflowConnection's actual flow rate in the overall outflow rate of this Split.