public class BinaryItem extends NominalItem implements java.io.Serializable
| Constructor and Description |
|---|
BinaryItem(Attribute att,
int valueIndex)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object compareTo)
Equals.
|
int |
hashCode() |
getComparisonAsString, getItemValueAsString, getValueIndex, toStringcompareTo, decreaseFrequency, decreaseFrequency, getAttribute, getFrequency, increaseFrequency, increaseFrequency, toStringpublic BinaryItem(Attribute att, int valueIndex) throws java.lang.Exception
att - the attribute that backs this item.valueIndex - the index of the value for this item.java.lang.Exception - if the backing attribute is not binary or unary.public boolean equals(java.lang.Object compareTo)
equals in class NominalItem