public final class Bin
extends java.lang.Object
| Constructor and Description |
|---|
Bin(int index,
double count)
Constructs a bin.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
double |
getCount() |
int |
getIndex() |
int |
hashCode() |
java.lang.String |
toString() |
public Bin(int index,
double count)
index - the index of the bincount - the count of the binjava.lang.IllegalArgumentException - if count is negativepublic int getIndex()
public double getCount()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object