org.deegree_impl.model.cv
Class Count_Impl
java.lang.Object
org.deegree_impl.model.cv.Count_Impl
- All Implemented Interfaces:
- Count
- public class Count_Impl
- extends java.lang.Object
- implements Count
implements a count value of a histogram
-----------------------------------------------------------------------
- Version:
- $Revision: 1.1 $ $Date: 2003/01/27 11:31:14 $
- Author:
- Andreas Poth
Constructor Summary |
Count_Impl(double index,
int count,
double percent)
|
Method Summary |
int |
getCount()
returns the absolut value of the histogram at the index position |
double |
getIndex()
returns the index position of the value at the histogram |
double |
getPercent()
returns the relative value of the histogram at the index position |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
count
private int count
index
private double index
percent
private double percent
Count_Impl
public Count_Impl(double index,
int count,
double percent)
getCount
public int getCount()
- returns the absolut value of the histogram at the index position
- Specified by:
getCount
in interface Count
getIndex
public double getIndex()
- returns the index position of the value at the histogram
- Specified by:
getIndex
in interface Count
getPercent
public double getPercent()
- returns the relative value of the histogram at the index position
- Specified by:
getPercent
in interface Count
toString
public java.lang.String toString()