net.sf.jour.statistic
Class AccumulationItem
java.lang.Object
net.sf.jour.statistic.AccumulationItem
- All Implemented Interfaces:
- Accumulation
- Direct Known Subclasses:
- AccumulationItmesList
- public class AccumulationItem
- extends java.lang.Object
- implements Accumulation
Base for statistic Accumulation.
Created on 13.12.2004
Contributing Author(s):
Misha Lifschitz (Inital implementation)
Vlad Skarzhevskyy (Inital implementation)
- Version:
- $Revision: 1.3 $ ($Author: vlads $) $Date: 2004/12/15 08:00:40 $
- Author:
- vlads
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccumulationItem
public AccumulationItem()
getName
public java.lang.String getName()
- Specified by:
getName
in interface Accumulation
reset
public void reset()
- Specified by:
reset
in interface Accumulation
add
public void add(double num)
- Add the number to the dataset.
add
public void add(java.lang.Object num)
- Add the number Object to the dataset.
- Specified by:
add
in interface Accumulation
getCount
public long getCount()
- Specified by:
getCount
in interface Accumulation
getTotal
public double getTotal()
- Specified by:
getTotal
in interface Accumulation
getMin
public double getMin()
- Specified by:
getMin
in interface Accumulation
getMax
public double getMax()
- Specified by:
getMax
in interface Accumulation
getMean
public double getMean()
- Specified by:
getMean
in interface Accumulation
getStandardDeviation
public double getStandardDeviation()
- Specified by:
getStandardDeviation
in interface Accumulation
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
- Specified by:
getAttribute
in interface Accumulation
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
- Specified by:
setAttribute
in interface Accumulation
Copyright © 2004 sourceforge. All Rights Reserved.