common
Class Histogram.Entry

java.lang.Object
  extended by common.Histogram.Entry
Enclosing class:
Histogram

public static class Histogram.Entry
extends java.lang.Object

Nested class for the entries in a histogram.


Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.Object getElement()
          Returns the object in this entry.
 double getWeight()
          Returns the weight of the object.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getElement

public java.lang.Object getElement()
Returns the object in this entry.


getWeight

public double getWeight()
Returns the weight of the object.


equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

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