Module ojalgo
Package org.ojalgo.function.aggregator
Class AggregatorFunction.PredicateWrapper<N extends Comparable<N>>
java.lang.Object
org.ojalgo.function.aggregator.AggregatorFunction.PredicateWrapper<N>
- All Implemented Interfaces:
Consumer<N>,DoubleConsumer,AggregatorFunction<N>,BasicFunction,VoidFunction<N>,AccessScalar<N>,NumberDefinition
- Enclosing interface:
AggregatorFunction<N extends Comparable<N>>
public static final class AggregatorFunction.PredicateWrapper<N extends Comparable<N>>
extends Object
implements AggregatorFunction<N>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ojalgo.function.aggregator.AggregatorFunction
AggregatorFunction.PredicateWrapper<N extends Comparable<N>>Nested classes/interfaces inherited from interface org.ojalgo.function.BasicFunction
BasicFunction.Differentiable<N extends Comparable<N>,F extends BasicFunction>, BasicFunction.Integratable<N extends Comparable<N>, F extends BasicFunction>, BasicFunction.PlainUnary<T, R> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AggregatorFunction<N> private final PredicateFunction<N> -
Constructor Summary
ConstructorsConstructorDescriptionPredicateWrapper(PredicateFunction<N> predicate, AggregatorFunction<N> aggregator) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ojalgo.function.aggregator.AggregatorFunction
filterMethods inherited from interface java.util.function.DoubleConsumer
andThenMethods inherited from interface org.ojalgo.function.VoidFunction
accept, accept, compose
-
Field Details
-
myAggregator
-
myPredicate
-
-
Constructor Details
-
PredicateWrapper
PredicateWrapper(PredicateFunction<N> predicate, AggregatorFunction<N> aggregator)
-
-
Method Details
-
booleanValue
public boolean booleanValue()- Specified by:
booleanValuein interfaceNumberDefinition
-
byteValue
public byte byteValue()- Specified by:
byteValuein interfaceNumberDefinition
-
doubleValue
public double doubleValue()- Specified by:
doubleValuein interfaceNumberDefinition
-
floatValue
public float floatValue()- Specified by:
floatValuein interfaceNumberDefinition
-
get
- Specified by:
getin interfaceAccessScalar<N extends Comparable<N>>
-
intValue
public int intValue()- Specified by:
intValuein interfaceNumberDefinition
-
invoke
public void invoke(byte arg) - Specified by:
invokein interfaceVoidFunction<N extends Comparable<N>>
-
invoke
public void invoke(double arg) - Specified by:
invokein interfaceVoidFunction<N extends Comparable<N>>
-
invoke
public void invoke(float arg) - Specified by:
invokein interfaceVoidFunction<N extends Comparable<N>>
-
invoke
public void invoke(int arg) - Specified by:
invokein interfaceVoidFunction<N extends Comparable<N>>
-
invoke
public void invoke(long arg) - Specified by:
invokein interfaceVoidFunction<N extends Comparable<N>>
-
invoke
- Specified by:
invokein interfaceVoidFunction<N extends Comparable<N>>
-
invoke
public void invoke(short arg) - Specified by:
invokein interfaceVoidFunction<N extends Comparable<N>>
-
longValue
public long longValue()- Specified by:
longValuein interfaceNumberDefinition
-
reset
- Specified by:
resetin interfaceAggregatorFunction<N extends Comparable<N>>
-
shortValue
public short shortValue()- Specified by:
shortValuein interfaceNumberDefinition
-
toScalar
- Specified by:
toScalarin interfaceAggregatorFunction<N extends Comparable<N>>
-