edu.udo.cs.yale.gui.plotter
Class Bin

java.lang.Object
  extended by edu.udo.cs.yale.gui.plotter.Bin

public class Bin
extends java.lang.Object

Used to collect values for, e.g., a histogram.

Version:
$Id: DistributionPlotter.java,v 2.12 2006/03/27 13:21:58 ingomierswa Exp $
Author:
Ingo Mierswa

Field Summary
private  int counter
           
private  double left
           
private  double right
           
 
Constructor Summary
Bin(double left, double right)
           
 
Method Summary
 int addPoint()
           
 boolean contains(double position)
           
 int getCounter()
           
 double getLeft()
           
 double getRight()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

left

private double left

right

private double right

counter

private int counter
Constructor Detail

Bin

public Bin(double left,
           double right)
Method Detail

contains

public boolean contains(double position)

addPoint

public int addPoint()

getCounter

public int getCounter()

getRight

public double getRight()

getLeft

public double getLeft()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2006