Class LibraryFunctionsBuilder
java.lang.Object
com.fluxtion.ext.streaming.builder.factory.LibraryFunctionsBuilder
public class LibraryFunctionsBuilder
extends java.lang.Object
Utility class providing static helper methods to create mapping operations
in streams from a set of wrapped functions.
This class is autogenerated from executing
StreamFunctionGenerator
- Author:
- Greg Higgins
-
Constructor Summary
Constructors Constructor Description LibraryFunctionsBuilder()
-
Method Summary
Modifier and Type Method Description static <T extends java.lang.Double, S extends java.lang.Double>
com.fluxtion.api.partition.LambdaReflection.SerializableBiFunction<T,S,java.lang.Number>add()
static <T, S> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>
add(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<S,java.lang.Number> supplier2)
static <T extends java.lang.Number, S extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>add(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier2)
static <T extends java.lang.Number, S extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>add(com.fluxtion.ext.streaming.api.stream.Argument<T> arg1, com.fluxtion.ext.streaming.api.stream.Argument<S> arg2)
static <T, S extends java.lang.Number, R extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>add(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,R> supplier2)
static <T, U, S extends java.lang.Number, R extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>add(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier1, com.fluxtion.ext.streaming.api.Wrapper<U> wrapper2, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<U,R> supplier2)
static <T extends java.lang.Number, S extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>add(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper1, com.fluxtion.ext.streaming.api.Wrapper<S> wrapper2)
static <T extends java.lang.Double>
com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number>avg()
WrapStreamFunctions.Average.addValue(double)
function for use as a map operation in an existing stream.static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>
avg(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier)
Performs aStreamFunctions.Average.addValue(double)
function as a map operation on a stream.static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>avg(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier)
Performs aStreamFunctions.Average.addValue(double)
function as a map operation on a stream.static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>avg(com.fluxtion.ext.streaming.api.stream.Argument<T> arg)
static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>avg(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper)
static <T, S extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>avg(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier)
static <T extends java.lang.Double>
com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number>ceil()
WrapMath.ceil(double)
function for use as a map operation in an existing stream.static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>
ceil(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier)
Performs aMath.ceil(double)
function as a map operation on a stream.static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>ceil(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier)
Performs aMath.ceil(double)
function as a map operation on a stream.static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>ceil(com.fluxtion.ext.streaming.api.stream.Argument<T> arg)
static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>ceil(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper)
static <T, S extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>ceil(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier)
static <T> com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number>
count()
WrapStreamFunctions.Count.increment(java.lang.Object)
function for use as a map operation in an existing stream.static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>
count(java.lang.Class<T> eventClass)
Performs aStreamFunctions.Count.increment(java.lang.Object)
function as a map operation on a stream.static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>
count(T supplier)
Performs aStreamFunctions.Count.increment(java.lang.Object)
function as a map operation on a stream.static <T extends java.lang.Number>
com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number>cumSum()
WrapStreamFunctions.Sum.addValue(java.lang.Number)
function for use as a map operation in an existing stream.static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>
cumSum(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier)
Performs aStreamFunctions.Sum.addValue(java.lang.Number)
function as a map operation on a stream.static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>cumSum(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier)
Performs aStreamFunctions.Sum.addValue(java.lang.Number)
function as a map operation on a stream.static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>cumSum(com.fluxtion.ext.streaming.api.stream.Argument<T> arg)
static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>cumSum(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper)
static <T, S extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>cumSum(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier)
static <T extends java.lang.Double>
com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number>delta()
WrapStreamFunctions.Delta.value(double)
function for use as a map operation in an existing stream.static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>
delta(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier)
Performs aStreamFunctions.Delta.value(double)
function as a map operation on a stream.static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>delta(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier)
Performs aStreamFunctions.Delta.value(double)
function as a map operation on a stream.static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>delta(com.fluxtion.ext.streaming.api.stream.Argument<T> arg)
static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>delta(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper)
static <T, S extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>delta(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier)
static <T extends java.lang.Double, S extends java.lang.Double>
com.fluxtion.api.partition.LambdaReflection.SerializableBiFunction<T,S,java.lang.Number>divide()
static <T, S> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>
divide(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<S,java.lang.Number> supplier2)
static <T extends java.lang.Number, S extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>divide(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier2)
static <T extends java.lang.Number, S extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>divide(com.fluxtion.ext.streaming.api.stream.Argument<T> arg1, com.fluxtion.ext.streaming.api.stream.Argument<S> arg2)
static <T, S extends java.lang.Number, R extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>divide(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,R> supplier2)
static <T, U, S extends java.lang.Number, R extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>divide(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier1, com.fluxtion.ext.streaming.api.Wrapper<U> wrapper2, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<U,R> supplier2)
static <T extends java.lang.Number, S extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>divide(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper1, com.fluxtion.ext.streaming.api.Wrapper<S> wrapper2)
static <T extends java.lang.Double>
com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number>floor()
WrapMath.floor(double)
function for use as a map operation in an existing stream.static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>
floor(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier)
Performs aMath.floor(double)
function as a map operation on a stream.static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>floor(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier)
Performs aMath.floor(double)
function as a map operation on a stream.static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>floor(com.fluxtion.ext.streaming.api.stream.Argument<T> arg)
static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>floor(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper)
static <T, S extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>floor(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier)
static <T extends java.lang.Double>
com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number>max()
WrapStreamFunctions.Max.max
function for use as a map operation in an existing stream.static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>
max(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier)
Performs aStreamFunctions.Max.max
function as a map operation on a stream.static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>max(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier)
Performs aStreamFunctions.Max.max
function as a map operation on a stream.static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>max(com.fluxtion.ext.streaming.api.stream.Argument<T> arg)
static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>max(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper)
static <T, S extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>max(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier)
static <T extends java.lang.Double>
com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number>min()
WrapStreamFunctions.Min.min
function for use as a map operation in an existing stream.static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>
min(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier)
Performs aStreamFunctions.Min.min
function as a map operation on a stream.static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>min(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier)
Performs aStreamFunctions.Min.min
function as a map operation on a stream.static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>min(com.fluxtion.ext.streaming.api.stream.Argument<T> arg)
static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>min(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper)
static <T, S extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>min(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier)
static <T extends java.lang.Double, S extends java.lang.Double>
com.fluxtion.api.partition.LambdaReflection.SerializableBiFunction<T,S,java.lang.Number>multiply()
static <T, S> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>
multiply(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<S,java.lang.Number> supplier2)
static <T extends java.lang.Number, S extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>multiply(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier2)
static <T extends java.lang.Number, S extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>multiply(com.fluxtion.ext.streaming.api.stream.Argument<T> arg1, com.fluxtion.ext.streaming.api.stream.Argument<S> arg2)
static <T, S extends java.lang.Number, R extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>multiply(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,R> supplier2)
static <T, U, S extends java.lang.Number, R extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>multiply(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier1, com.fluxtion.ext.streaming.api.Wrapper<U> wrapper2, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<U,R> supplier2)
static <T extends java.lang.Number, S extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>multiply(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper1, com.fluxtion.ext.streaming.api.Wrapper<S> wrapper2)
static <T extends java.lang.Double>
com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number>percentChange()
WrapStreamFunctions.PercentDelta.value(double)
function for use as a map operation in an existing stream.static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>
percentChange(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier)
Performs aStreamFunctions.PercentDelta.value(double)
function as a map operation on a stream.static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>percentChange(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier)
Performs aStreamFunctions.PercentDelta.value(double)
function as a map operation on a stream.static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>percentChange(com.fluxtion.ext.streaming.api.stream.Argument<T> arg)
static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>percentChange(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper)
static <T, S extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>percentChange(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier)
static <T extends java.lang.Double, S extends java.lang.Double>
com.fluxtion.api.partition.LambdaReflection.SerializableBiFunction<T,S,java.lang.Number>subtract()
static <T, S> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>
subtract(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<S,java.lang.Number> supplier2)
static <T extends java.lang.Number, S extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>subtract(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier2)
static <T extends java.lang.Number, S extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>subtract(com.fluxtion.ext.streaming.api.stream.Argument<T> arg1, com.fluxtion.ext.streaming.api.stream.Argument<S> arg2)
static <T, S extends java.lang.Number, R extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>subtract(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,R> supplier2)
static <T, U, S extends java.lang.Number, R extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>subtract(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier1, com.fluxtion.ext.streaming.api.Wrapper<U> wrapper2, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<U,R> supplier2)
static <T extends java.lang.Number, S extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>subtract(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper1, com.fluxtion.ext.streaming.api.Wrapper<S> wrapper2)
static <T extends java.lang.Double>
com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number>toDouble()
WrapStreamFunctions.asDouble(double)
function for use as a map operation in an existing stream.static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>
toDouble(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier)
Performs aStreamFunctions.asDouble(double)
function as a map operation on a stream.static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>toDouble(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier)
Performs aStreamFunctions.asDouble(double)
function as a map operation on a stream.static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>toDouble(com.fluxtion.ext.streaming.api.stream.Argument<T> arg)
static <T extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>toDouble(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper)
static <T, S extends java.lang.Number>
com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number>toDouble(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier)
-
Constructor Details
-
LibraryFunctionsBuilder
public LibraryFunctionsBuilder()
-
-
Method Details
-
add
public static <T extends java.lang.Double, S extends java.lang.Double> com.fluxtion.api.partition.LambdaReflection.SerializableBiFunction<T,S,java.lang.Number> add() -
add
public static <T, S> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> add(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<S,java.lang.Number> supplier2) -
add
public static <T extends java.lang.Number, S extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> add(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier2) -
add
public static <T extends java.lang.Number, S extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> add(com.fluxtion.ext.streaming.api.stream.Argument<T> arg1, com.fluxtion.ext.streaming.api.stream.Argument<S> arg2) -
add
public static <T, S extends java.lang.Number, R extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> add(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,R> supplier2) -
add
public static <T, U, S extends java.lang.Number, R extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> add(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier1, com.fluxtion.ext.streaming.api.Wrapper<U> wrapper2, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<U,R> supplier2) -
add
public static <T extends java.lang.Number, S extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> add(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper1, com.fluxtion.ext.streaming.api.Wrapper<S> wrapper2) -
subtract
public static <T extends java.lang.Double, S extends java.lang.Double> com.fluxtion.api.partition.LambdaReflection.SerializableBiFunction<T,S,java.lang.Number> subtract() -
subtract
public static <T, S> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> subtract(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<S,java.lang.Number> supplier2) -
subtract
public static <T extends java.lang.Number, S extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> subtract(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier2) -
subtract
public static <T extends java.lang.Number, S extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> subtract(com.fluxtion.ext.streaming.api.stream.Argument<T> arg1, com.fluxtion.ext.streaming.api.stream.Argument<S> arg2) -
subtract
public static <T, S extends java.lang.Number, R extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> subtract(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,R> supplier2) -
subtract
public static <T, U, S extends java.lang.Number, R extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> subtract(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier1, com.fluxtion.ext.streaming.api.Wrapper<U> wrapper2, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<U,R> supplier2) -
subtract
public static <T extends java.lang.Number, S extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> subtract(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper1, com.fluxtion.ext.streaming.api.Wrapper<S> wrapper2) -
multiply
public static <T extends java.lang.Double, S extends java.lang.Double> com.fluxtion.api.partition.LambdaReflection.SerializableBiFunction<T,S,java.lang.Number> multiply() -
multiply
public static <T, S> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> multiply(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<S,java.lang.Number> supplier2) -
multiply
public static <T extends java.lang.Number, S extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> multiply(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier2) -
multiply
public static <T extends java.lang.Number, S extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> multiply(com.fluxtion.ext.streaming.api.stream.Argument<T> arg1, com.fluxtion.ext.streaming.api.stream.Argument<S> arg2) -
multiply
public static <T, S extends java.lang.Number, R extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> multiply(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,R> supplier2) -
multiply
public static <T, U, S extends java.lang.Number, R extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> multiply(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier1, com.fluxtion.ext.streaming.api.Wrapper<U> wrapper2, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<U,R> supplier2) -
multiply
public static <T extends java.lang.Number, S extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> multiply(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper1, com.fluxtion.ext.streaming.api.Wrapper<S> wrapper2) -
divide
public static <T extends java.lang.Double, S extends java.lang.Double> com.fluxtion.api.partition.LambdaReflection.SerializableBiFunction<T,S,java.lang.Number> divide() -
divide
public static <T, S> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> divide(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<S,java.lang.Number> supplier2) -
divide
public static <T extends java.lang.Number, S extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> divide(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier2) -
divide
public static <T extends java.lang.Number, S extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> divide(com.fluxtion.ext.streaming.api.stream.Argument<T> arg1, com.fluxtion.ext.streaming.api.stream.Argument<S> arg2) -
divide
public static <T, S extends java.lang.Number, R extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> divide(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,R> supplier2) -
divide
public static <T, U, S extends java.lang.Number, R extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> divide(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper1, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier1, com.fluxtion.ext.streaming.api.Wrapper<U> wrapper2, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<U,R> supplier2) -
divide
public static <T extends java.lang.Number, S extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> divide(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper1, com.fluxtion.ext.streaming.api.Wrapper<S> wrapper2) -
cumSum
public static <T extends java.lang.Number> com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> cumSum()WrapStreamFunctions.Sum.addValue(java.lang.Number)
function for use as a map operation in an existing stream.Wrapper.map(SerializableFunction)
requires aLambdaReflection.SerializableFunction
to map input values.- Type Parameters:
T
- input toStreamFunctions.Sum.addValue(java.lang.Number)
- Returns:
LambdaReflection.SerializableFunction
ofStreamFunctions.Sum.addValue(java.lang.Number)
-
cumSum
public static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> cumSum(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier)Performs aStreamFunctions.Sum.addValue(java.lang.Number)
function as a map operation on a stream. The stream is automatically created by subscribing to theEvent
and wrapping the supplier function with {@link Wrapper<Number>}. The wrapper is the input to the mapping function. The mapped value is available as a {@link Wrapper<Number>} instance for further stream operations.- Type Parameters:
T
- The input event stream- Parameters:
supplier
- The input value to the functionStreamFunctions.Sum.addValue(java.lang.Number)
- Returns:
- {@link Wrapper<Number>} wrapping the result of
StreamFunctions.Sum.addValue(java.lang.Number)
-
cumSum
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> cumSum(com.fluxtion.ext.streaming.api.stream.Argument<T> arg) -
cumSum
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> cumSum(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier)Performs aStreamFunctions.Sum.addValue(java.lang.Number)
function as a map operation on a stream. The stream is automatically created by wrapping the supplier instance function in a {@link Wrapper<Number>}, the wrapper is the input to the mapping function. The mapped value is available as a {@link Wrapper<Number>} instance for further stream operations.- Type Parameters:
T
- The input type required byStreamFunctions.Sum.addValue(java.lang.Number)
- Parameters:
supplier
- The wrapped instance supplying values to the functionStreamFunctions.Sum.addValue(java.lang.Number)
- Returns:
- {@link Wrapper<Number>} wrapping the result of
StreamFunctions.Sum.addValue(java.lang.Number)
-
cumSum
public static <T, S extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> cumSum(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier) -
cumSum
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> cumSum(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper) -
avg
public static <T extends java.lang.Double> com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> avg()WrapStreamFunctions.Average.addValue(double)
function for use as a map operation in an existing stream.Wrapper.map(SerializableFunction)
requires aLambdaReflection.SerializableFunction
to map input values.- Type Parameters:
T
- input toStreamFunctions.Average.addValue(double)
- Returns:
LambdaReflection.SerializableFunction
ofStreamFunctions.Average.addValue(double)
-
avg
public static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> avg(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier)Performs aStreamFunctions.Average.addValue(double)
function as a map operation on a stream. The stream is automatically created by subscribing to theEvent
and wrapping the supplier function with {@link Wrapper<Number>}. The wrapper is the input to the mapping function. The mapped value is available as a {@link Wrapper<Number>} instance for further stream operations.- Type Parameters:
T
- The input event stream- Parameters:
supplier
- The input value to the functionStreamFunctions.Average.addValue(double)
- Returns:
- {@link Wrapper<Number>} wrapping the result of
StreamFunctions.Average.addValue(double)
-
avg
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> avg(com.fluxtion.ext.streaming.api.stream.Argument<T> arg) -
avg
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> avg(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier)Performs aStreamFunctions.Average.addValue(double)
function as a map operation on a stream. The stream is automatically created by wrapping the supplier instance function in a {@link Wrapper<Number>}, the wrapper is the input to the mapping function. The mapped value is available as a {@link Wrapper<Number>} instance for further stream operations.- Type Parameters:
T
- The input type required byStreamFunctions.Average.addValue(double)
- Parameters:
supplier
- The wrapped instance supplying values to the functionStreamFunctions.Average.addValue(double)
- Returns:
- {@link Wrapper<Number>} wrapping the result of
StreamFunctions.Average.addValue(double)
-
avg
public static <T, S extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> avg(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier) -
avg
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> avg(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper) -
max
public static <T extends java.lang.Double> com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> max()WrapStreamFunctions.Max.max
function for use as a map operation in an existing stream.Wrapper.map(SerializableFunction)
requires aLambdaReflection.SerializableFunction
to map input values.- Type Parameters:
T
- input toStreamFunctions.Max.max
- Returns:
LambdaReflection.SerializableFunction
ofStreamFunctions.Max.max
-
max
public static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> max(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier)Performs aStreamFunctions.Max.max
function as a map operation on a stream. The stream is automatically created by subscribing to theEvent
and wrapping the supplier function with {@link Wrapper<Number>}. The wrapper is the input to the mapping function. The mapped value is available as a {@link Wrapper<Number>} instance for further stream operations.- Type Parameters:
T
- The input event stream- Parameters:
supplier
- The input value to the functionStreamFunctions.Max.max
- Returns:
- {@link Wrapper<Number>} wrapping the result of
StreamFunctions.Max.max
-
max
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> max(com.fluxtion.ext.streaming.api.stream.Argument<T> arg) -
max
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> max(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier)Performs aStreamFunctions.Max.max
function as a map operation on a stream. The stream is automatically created by wrapping the supplier instance function in a {@link Wrapper<Number>}, the wrapper is the input to the mapping function. The mapped value is available as a {@link Wrapper<Number>} instance for further stream operations.- Type Parameters:
T
- The input type required byStreamFunctions.Max.max
- Parameters:
supplier
- The wrapped instance supplying values to the functionStreamFunctions.Max.max
- Returns:
- {@link Wrapper<Number>} wrapping the result of
StreamFunctions.Max.max
-
max
public static <T, S extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> max(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier) -
max
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> max(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper) -
min
public static <T extends java.lang.Double> com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> min()WrapStreamFunctions.Min.min
function for use as a map operation in an existing stream.Wrapper.map(SerializableFunction)
requires aLambdaReflection.SerializableFunction
to map input values.- Type Parameters:
T
- input toStreamFunctions.Min.min
- Returns:
LambdaReflection.SerializableFunction
ofStreamFunctions.Min.min
-
min
public static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> min(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier)Performs aStreamFunctions.Min.min
function as a map operation on a stream. The stream is automatically created by subscribing to theEvent
and wrapping the supplier function with {@link Wrapper<Number>}. The wrapper is the input to the mapping function. The mapped value is available as a {@link Wrapper<Number>} instance for further stream operations.- Type Parameters:
T
- The input event stream- Parameters:
supplier
- The input value to the functionStreamFunctions.Min.min
- Returns:
- {@link Wrapper<Number>} wrapping the result of
StreamFunctions.Min.min
-
min
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> min(com.fluxtion.ext.streaming.api.stream.Argument<T> arg) -
min
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> min(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier)Performs aStreamFunctions.Min.min
function as a map operation on a stream. The stream is automatically created by wrapping the supplier instance function in a {@link Wrapper<Number>}, the wrapper is the input to the mapping function. The mapped value is available as a {@link Wrapper<Number>} instance for further stream operations.- Type Parameters:
T
- The input type required byStreamFunctions.Min.min
- Parameters:
supplier
- The wrapped instance supplying values to the functionStreamFunctions.Min.min
- Returns:
- {@link Wrapper<Number>} wrapping the result of
StreamFunctions.Min.min
-
min
public static <T, S extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> min(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier) -
min
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> min(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper) -
percentChange
public static <T extends java.lang.Double> com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> percentChange()WrapStreamFunctions.PercentDelta.value(double)
function for use as a map operation in an existing stream.Wrapper.map(SerializableFunction)
requires aLambdaReflection.SerializableFunction
to map input values.- Type Parameters:
T
- input toStreamFunctions.PercentDelta.value(double)
- Returns:
LambdaReflection.SerializableFunction
ofStreamFunctions.PercentDelta.value(double)
-
percentChange
public static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> percentChange(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier)Performs aStreamFunctions.PercentDelta.value(double)
function as a map operation on a stream. The stream is automatically created by subscribing to theEvent
and wrapping the supplier function with {@link Wrapper<Number>}. The wrapper is the input to the mapping function. The mapped value is available as a {@link Wrapper<Number>} instance for further stream operations.- Type Parameters:
T
- The input event stream- Parameters:
supplier
- The input value to the functionStreamFunctions.PercentDelta.value(double)
- Returns:
- {@link Wrapper<Number>} wrapping the result of
StreamFunctions.PercentDelta.value(double)
-
percentChange
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> percentChange(com.fluxtion.ext.streaming.api.stream.Argument<T> arg) -
percentChange
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> percentChange(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier)Performs aStreamFunctions.PercentDelta.value(double)
function as a map operation on a stream. The stream is automatically created by wrapping the supplier instance function in a {@link Wrapper<Number>}, the wrapper is the input to the mapping function. The mapped value is available as a {@link Wrapper<Number>} instance for further stream operations.- Type Parameters:
T
- The input type required byStreamFunctions.PercentDelta.value(double)
- Parameters:
supplier
- The wrapped instance supplying values to the functionStreamFunctions.PercentDelta.value(double)
- Returns:
- {@link Wrapper<Number>} wrapping the result of
StreamFunctions.PercentDelta.value(double)
-
percentChange
public static <T, S extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> percentChange(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier) -
percentChange
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> percentChange(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper) -
delta
public static <T extends java.lang.Double> com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> delta()WrapStreamFunctions.Delta.value(double)
function for use as a map operation in an existing stream.Wrapper.map(SerializableFunction)
requires aLambdaReflection.SerializableFunction
to map input values.- Type Parameters:
T
- input toStreamFunctions.Delta.value(double)
- Returns:
LambdaReflection.SerializableFunction
ofStreamFunctions.Delta.value(double)
-
delta
public static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> delta(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier)Performs aStreamFunctions.Delta.value(double)
function as a map operation on a stream. The stream is automatically created by subscribing to theEvent
and wrapping the supplier function with {@link Wrapper<Number>}. The wrapper is the input to the mapping function. The mapped value is available as a {@link Wrapper<Number>} instance for further stream operations.- Type Parameters:
T
- The input event stream- Parameters:
supplier
- The input value to the functionStreamFunctions.Delta.value(double)
- Returns:
- {@link Wrapper<Number>} wrapping the result of
StreamFunctions.Delta.value(double)
-
delta
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> delta(com.fluxtion.ext.streaming.api.stream.Argument<T> arg) -
delta
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> delta(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier)Performs aStreamFunctions.Delta.value(double)
function as a map operation on a stream. The stream is automatically created by wrapping the supplier instance function in a {@link Wrapper<Number>}, the wrapper is the input to the mapping function. The mapped value is available as a {@link Wrapper<Number>} instance for further stream operations.- Type Parameters:
T
- The input type required byStreamFunctions.Delta.value(double)
- Parameters:
supplier
- The wrapped instance supplying values to the functionStreamFunctions.Delta.value(double)
- Returns:
- {@link Wrapper<Number>} wrapping the result of
StreamFunctions.Delta.value(double)
-
delta
public static <T, S extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> delta(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier) -
delta
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> delta(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper) -
toDouble
public static <T extends java.lang.Double> com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> toDouble()WrapStreamFunctions.asDouble(double)
function for use as a map operation in an existing stream.Wrapper.map(SerializableFunction)
requires aLambdaReflection.SerializableFunction
to map input values.- Type Parameters:
T
- input toStreamFunctions.asDouble(double)
- Returns:
LambdaReflection.SerializableFunction
ofStreamFunctions.asDouble(double)
-
toDouble
public static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> toDouble(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier)Performs aStreamFunctions.asDouble(double)
function as a map operation on a stream. The stream is automatically created by subscribing to theEvent
and wrapping the supplier function with {@link Wrapper<Number>}. The wrapper is the input to the mapping function. The mapped value is available as a {@link Wrapper<Number>} instance for further stream operations.- Type Parameters:
T
- The input event stream- Parameters:
supplier
- The input value to the functionStreamFunctions.asDouble(double)
- Returns:
- {@link Wrapper<Number>} wrapping the result of
StreamFunctions.asDouble(double)
-
toDouble
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> toDouble(com.fluxtion.ext.streaming.api.stream.Argument<T> arg) -
toDouble
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> toDouble(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier)Performs aStreamFunctions.asDouble(double)
function as a map operation on a stream. The stream is automatically created by wrapping the supplier instance function in a {@link Wrapper<Number>}, the wrapper is the input to the mapping function. The mapped value is available as a {@link Wrapper<Number>} instance for further stream operations.- Type Parameters:
T
- The input type required byStreamFunctions.asDouble(double)
- Parameters:
supplier
- The wrapped instance supplying values to the functionStreamFunctions.asDouble(double)
- Returns:
- {@link Wrapper<Number>} wrapping the result of
StreamFunctions.asDouble(double)
-
toDouble
public static <T, S extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> toDouble(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier) -
toDouble
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> toDouble(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper) -
ceil
public static <T extends java.lang.Double> com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> ceil()WrapMath.ceil(double)
function for use as a map operation in an existing stream.Wrapper.map(SerializableFunction)
requires aLambdaReflection.SerializableFunction
to map input values.- Type Parameters:
T
- input toMath.ceil(double)
- Returns:
LambdaReflection.SerializableFunction
ofMath.ceil(double)
-
ceil
public static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> ceil(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier)Performs aMath.ceil(double)
function as a map operation on a stream. The stream is automatically created by subscribing to theEvent
and wrapping the supplier function with {@link Wrapper<Number>}. The wrapper is the input to the mapping function. The mapped value is available as a {@link Wrapper<Number>} instance for further stream operations.- Type Parameters:
T
- The input event stream- Parameters:
supplier
- The input value to the functionMath.ceil(double)
- Returns:
- {@link Wrapper<Number>} wrapping the result of
Math.ceil(double)
-
ceil
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> ceil(com.fluxtion.ext.streaming.api.stream.Argument<T> arg) -
ceil
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> ceil(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier)Performs aMath.ceil(double)
function as a map operation on a stream. The stream is automatically created by wrapping the supplier instance function in a {@link Wrapper<Number>}, the wrapper is the input to the mapping function. The mapped value is available as a {@link Wrapper<Number>} instance for further stream operations.- Type Parameters:
T
- The input type required byMath.ceil(double)
- Parameters:
supplier
- The wrapped instance supplying values to the functionMath.ceil(double)
- Returns:
- {@link Wrapper<Number>} wrapping the result of
Math.ceil(double)
-
ceil
public static <T, S extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> ceil(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier) -
ceil
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> ceil(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper) -
floor
public static <T extends java.lang.Double> com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> floor()WrapMath.floor(double)
function for use as a map operation in an existing stream.Wrapper.map(SerializableFunction)
requires aLambdaReflection.SerializableFunction
to map input values.- Type Parameters:
T
- input toMath.floor(double)
- Returns:
LambdaReflection.SerializableFunction
ofMath.floor(double)
-
floor
public static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> floor(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> supplier)Performs aMath.floor(double)
function as a map operation on a stream. The stream is automatically created by subscribing to theEvent
and wrapping the supplier function with {@link Wrapper<Number>}. The wrapper is the input to the mapping function. The mapped value is available as a {@link Wrapper<Number>} instance for further stream operations.- Type Parameters:
T
- The input event stream- Parameters:
supplier
- The input value to the functionMath.floor(double)
- Returns:
- {@link Wrapper<Number>} wrapping the result of
Math.floor(double)
-
floor
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> floor(com.fluxtion.ext.streaming.api.stream.Argument<T> arg) -
floor
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> floor(com.fluxtion.api.partition.LambdaReflection.SerializableSupplier<T> supplier)Performs aMath.floor(double)
function as a map operation on a stream. The stream is automatically created by wrapping the supplier instance function in a {@link Wrapper<Number>}, the wrapper is the input to the mapping function. The mapped value is available as a {@link Wrapper<Number>} instance for further stream operations.- Type Parameters:
T
- The input type required byMath.floor(double)
- Parameters:
supplier
- The wrapped instance supplying values to the functionMath.floor(double)
- Returns:
- {@link Wrapper<Number>} wrapping the result of
Math.floor(double)
-
floor
public static <T, S extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> floor(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper, com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier) -
floor
public static <T extends java.lang.Number> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> floor(com.fluxtion.ext.streaming.api.Wrapper<T> wrapper) -
count
public static <T> com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,java.lang.Number> count()WrapStreamFunctions.Count.increment(java.lang.Object)
function for use as a map operation in an existing stream.Wrapper.map(SerializableFunction)
requires aLambdaReflection.SerializableFunction
to map input values.- Type Parameters:
T
- input toStreamFunctions.Count.increment(java.lang.Object)
- Returns:
LambdaReflection.SerializableFunction
ofStreamFunctions.Count.increment(java.lang.Object)
-
count
public static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> count(java.lang.Class<T> eventClass)Performs aStreamFunctions.Count.increment(java.lang.Object)
function as a map operation on a stream. The stream is automatically created by subscribing to theEvent
and wrapping the supplier function with {@link Wrapper<T>}. The wrapper is the input to the mapping function. The mapped value is available as a {@link Wrapper<Number>} instance for further stream operations.- Type Parameters:
T
- The input event stream- Returns:
- {@link Wrapper<Number>} wrapping the result of
StreamFunctions.Count.increment(java.lang.Object)
-
count
public static <T> com.fluxtion.ext.streaming.api.Wrapper<java.lang.Number> count(T supplier)Performs aStreamFunctions.Count.increment(java.lang.Object)
function as a map operation on a stream. The stream is automatically created by wrapping the supplier instance function in a {@link Wrapper<T>}, the wrapper is the input to the mapping function. The mapped value is available as a {@link Wrapper<Number>} instance for further stream operations.- Type Parameters:
T
- The input type required byStreamFunctions.Count.increment(java.lang.Object)
- Parameters:
supplier
- The wrapped instance supplying values to the functionStreamFunctions.Count.increment(java.lang.Object)
- Returns:
- {@link Wrapper<Number>} wrapping the result of
StreamFunctions.Count.increment(java.lang.Object)
-