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

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

package com.fluxtion.runtime.dataflow.aggregate.function.primitive;

public class LongMaxFlowFunction extends AbstractLongFlowFunction {

    @Override
    public long aggregateLong(long input) {
        value = Math.max(value, input);
        return getAsLong();
    }

    @Override
    public void combine(LongMaxFlowFunction add) {
        aggregateLong(add.getAsLong());
    }

    @Override
    public boolean deductSupported() {
        return false;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy