org.deegree_impl.model.cv
Class Count_Impl

java.lang.Object
  extended byorg.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

Field Summary
private  int count
           
private  double index
           
private  double percent
           
 
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
 

Field Detail

count

private int count

index

private double index

percent

private double percent
Constructor Detail

Count_Impl

public Count_Impl(double index,
                  int count,
                  double percent)
Method Detail

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()