public class Split
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Checks if a split is the same split as another object
|
int |
getAttribute()
Gets the position of the attribute for the split
|
double |
getValue()
Gets the value of the attribute for the split
|
int |
hashCode()
Hash-code function for the class that is used when object is inserted in a structure like a hashtable
|
void |
setAttribute(int attribute)
Replaces the position of the attribute for the split with another new position
|
void |
setValue(double value)
Replaces the value of the attribute for the split with another new value
|
java.lang.String |
toString()
Overriden function that converts the class to a string
|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Object that is checked to see if it is the same splitObject.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int getAttribute()
public void setAttribute(int attribute)
attribute
- New position of the attribute for the splitpublic double getValue()
public void setValue(double value)
value
- New value of the attribute for the split