vsp
Class Item

java.lang.Object
  extended by vsp.Item

public class Item
extends java.lang.Object

Object for storing histogram items

Author:
Jan Tichava

Field Summary
private  int count
           
private  long marks
           
private  double value
           
 
Constructor Summary
Item(int count, long marks, double value)
          Create one histogram column
 
Method Summary
 int getCount()
          Get number count
 long getMarks()
          Number of mark to print
 double getValue()
          Get approximate value of number
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

count

private int count

marks

private long marks

value

private double value
Constructor Detail

Item

public Item(int count,
            long marks,
            double value)
Create one histogram column

Parameters:
count - number count
marks - number of mark to print
value - approximate value of number
Method Detail

getCount

public int getCount()
Get number count

Returns:
the count

getMarks

public long getMarks()
Number of mark to print

Returns:
the marks

getValue

public double getValue()
Get approximate value of number

Returns:
the value