TemporalOp

public class TemporalOp

Note that the methods in this class require explicit time declaration to deal with numeric operations which cannot be defined on Generic types, not even on the Number class. That's because numeric operations (such as +, -, *, /, %) are defined on primitive types, and Generic types do not support instantiations based on primitive types.

See also

<a href="https://docs.oracle.com/javase/tutorial/java/generics/restrictions.html">Java Generics Restrictions</a>

Functions

Link copied to clipboard
public static List<TimeChain<Double, R>> slidingWindow<R>(TimeChain<Double, R> s, TimeChain<Double, R> us, Interval opHorizon, BinaryOperator<R> op)
public static List<Update<Double, R>> slidingWindow<R>(TimeChain<Double, R> s, Update<Double, R> u, Interval opHorizon, BinaryOperator<R> op)