All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fluxtion.runtime.dataflow.aggregate.function.primitive.AbstractMutableNumberFlowFunction Maven / Gradle / Ivy

The newest version!
package com.fluxtion.runtime.dataflow.aggregate.function.primitive;

import com.fluxtion.runtime.dataflow.MutableNumber;
import com.fluxtion.runtime.dataflow.aggregate.AggregateFlowFunction;

public abstract class AbstractMutableNumberFlowFunction
        implements AggregateFlowFunction {
    MutableNumber mutableNumber = new MutableNumber();

    @Override
    public Number reset() {
        return mutableNumber.reset();
    }

    @Override
    public void combine(AbstractMutableNumberFlowFunction add) {

    }

    @Override
    public void deduct(AbstractMutableNumberFlowFunction add) {

    }

    @Override
    public Number get() {
        return mutableNumber;
    }

    @Override
    public Number aggregate(Number input) {
        return null;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy