org.ojalgo.array.visitor
Class PrimitivePlain

java.lang.Object
  extended by org.ojalgo.array.visitor.PrimitivePlain
All Implemented Interfaces:
Cloneable, Aggregator<Double>, ArrayVisitor<Double>

public class PrimitivePlain
extends Object
implements Aggregator<Double>


Constructor Summary
PrimitivePlain(double anInit, BinaryFunction<Double> anAggregator)
           
 
Method Summary
 double doubleValue()
           
 Double getNumber()
           
 void invoke(double anArg)
           
 void invoke(Double anArg)
           
 void reset()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimitivePlain

public PrimitivePlain(double anInit,
                      BinaryFunction<Double> anAggregator)
Method Detail

doubleValue

public double doubleValue()
Specified by:
doubleValue in interface Aggregator<Double>

getNumber

public Double getNumber()
Specified by:
getNumber in interface Aggregator<Double>

invoke

public void invoke(double anArg)
Specified by:
invoke in interface ArrayVisitor<Double>

invoke

public void invoke(Double anArg)
Specified by:
invoke in interface ArrayVisitor<Double>

reset

public void reset()
Specified by:
reset in interface ArrayVisitor<Double>