jBNC Toolbox

jbnc.discretize
Class Case

java.lang.Object
  extended byjbnc.discretize.Case

public final class Case
extends java.lang.Object

Represents attribute instance: a pair of an attribute value and a class to which this attribute value belongs.


Constructor Summary
Case(int classId, double attributeValue)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Indicates whether some other object is "equal to" this one.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Case

public Case(int classId,
            double attributeValue)
Constructor.

Parameters:
classId - Class to which this attribute value belongs.
attributeValue - Attribute value.
Method Detail

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. Object of class Case are equal iff all member fields are equal.

Parameters:
obj - the reference object with which to compare.
Returns:
true if this object is the same as the obj argument; false otherwise.

SourceForge.net Logo