cmu.survey.objects.renderers.text.answerchoiceshelper
Class ChoiceDataBitSetWeightedWrapper
java.lang.Object
cmu.survey.objects.renderers.text.answerchoiceshelper.ChoiceDataBitSetWeightedWrapper
- All Implemented Interfaces:
- java.lang.Comparable
public class ChoiceDataBitSetWeightedWrapper
- extends java.lang.Object
- implements java.lang.Comparable
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ChoiceDataBitSetWeightedWrapper
public ChoiceDataBitSetWeightedWrapper(ChoicesDataBitSet choices)
getChoices
public ChoicesDataBitSet getChoices()
getWeight
public int getWeight()
- Returns:
incrementWeight
public void incrementWeight()
- Parameters:
i
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
getName
public java.lang.String getName()
- Returns:
setName
public void setName(java.lang.String string)
- Parameters:
string
-
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object