public abstract class AbstractStorelessUnivariateStatistic extends Object implements StorelessUnivariateStatistic
StorelessUnivariateStatistic interface.
 
 Provides default hashCode() and equals(Object)
 implementations.
| Constructor and Description | 
|---|
| AbstractStorelessUnivariateStatistic() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | clear()Clears the internal state of the Statistic | 
| abstract StorelessUnivariateStatistic | copy()Returns a copy of the statistic with the same internal state. | 
| boolean | equals(Object object)Returns true iff  objectis the same type ofStorelessUnivariateStatistic(the object's class equals this
 instance) returning the same values as this forgetResult()andgetN(). | 
| abstract double | getResult()Returns the current value of the Statistic. | 
| int | hashCode()Returns hash code based on getResult() and getN(). | 
| abstract void | increment(double d)Updates the internal state of the statistic to reflect the addition of the new value. | 
| String | toString() | 
clone, finalize, getClass, notify, notifyAll, wait, wait, waitaccept, evaluate, getN, incrementAll, incrementAllevaluateandThenpublic AbstractStorelessUnivariateStatistic()
public abstract StorelessUnivariateStatistic copy()
copy in interface StorelessUnivariateStatisticcopy in interface UnivariateStatisticpublic abstract void clear()
clear in interface StorelessUnivariateStatisticpublic abstract double getResult()
getResult in interface StorelessUnivariateStatisticDouble.NaN if it
 has been cleared or just instantiated.public abstract void increment(double d)
increment in interface StorelessUnivariateStatisticd - the new value.public boolean equals(Object object)
object is the same type of
 StorelessUnivariateStatistic (the object's class equals this
 instance) returning the same values as this for getResult()
 and getN().public int hashCode()
Copyright © 2016–2020 Hipparchus.org. All rights reserved.