net.charlesames.utility.html
Class DiscreteGraphBuilder.Row
java.lang.Object
net.charlesames.utility.html.DiscreteGraphBuilder.Row
- Enclosing class:
- DiscreteGraphBuilder
public class DiscreteGraphBuilder.Row
- extends java.lang.Object
- Author:
- Charles Ames
Row
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiscreteGraphBuilder.Row
public DiscreteGraphBuilder.Row(int value)
- Constructor for Row instances
- Parameters:
value - The Y value associated with this row.
setRawHistogramWidth
public void setRawHistogramWidth(int rawHistogramWidth)
- Parameters:
rawHistogramWidth -
getRawHistogramWidth
public int getRawHistogramWidth()
- Returns:
- The raw histogram width.
getOccurrences
public int getOccurrences()
- Returns:
- The number of times the value occurs over the course of this graph.
addOccurrence
public void addOccurrence()
- Increment the occurrence count.
getValue
public int getValue()
- Returns:
- The value associated with this Row instance.