Package jsl.utilities.statistic
Class IntegerFrequency.Cell
- java.lang.Object
-
- jsl.utilities.statistic.IntegerFrequency.Cell
-
- All Implemented Interfaces:
java.lang.Comparable<IntegerFrequency.Cell>
- Enclosing class:
- IntegerFrequency
public class IntegerFrequency.Cell extends java.lang.Object implements java.lang.Comparable<IntegerFrequency.Cell>
Holds the values and their counts
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(IntegerFrequency.Cell cell)
boolean
equals(java.lang.Object obj)
int
getCount()
double
getProportion()
int
getValue()
int
hashCode()
IntegerFrequency.Cell
newInstance()
java.lang.String
toString()
-
-
-
Method Detail
-
getValue
public final int getValue()
-
getCount
public final int getCount()
-
getProportion
public final double getProportion()
-
compareTo
public final int compareTo(IntegerFrequency.Cell cell)
- Specified by:
compareTo
in interfacejava.lang.Comparable<IntegerFrequency.Cell>
-
equals
public final boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
newInstance
public IntegerFrequency.Cell newInstance()
-
-