|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bolson.vote.NamedHistogram.Choice
protected class NamedHistogram.Choice
Field Summary | |
---|---|
int[] |
counts
|
java.lang.String |
name
|
double |
sum
|
int |
votes
|
Constructor Summary | |
---|---|
NamedHistogram.Choice(java.lang.String nameIn,
int buckets)
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object bi)
|
void |
vote(float rating)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int[] counts
public int votes
public double sum
public java.lang.String name
Constructor Detail |
---|
public NamedHistogram.Choice(java.lang.String nameIn, int buckets)
Method Detail |
---|
public void vote(float rating)
public int compareTo(java.lang.Object bi) throws java.lang.ClassCastException
compareTo
in interface java.lang.Comparable
java.lang.ClassCastException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |