public class MaltFeatureNode extends java.lang.Object implements java.lang.Comparable<MaltFeatureNode>
Constructor and Description |
---|
MaltFeatureNode() |
MaltFeatureNode(int index,
double value) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(MaltFeatureNode aThat) |
boolean |
equals(java.lang.Object obj) |
int |
getIndex() |
double |
getValue() |
int |
hashCode() |
void |
setIndex(int index) |
void |
setValue(double value) |
java.lang.String |
toString() |
public MaltFeatureNode()
public MaltFeatureNode(int index, double value)
public int getIndex()
public void setIndex(int index)
public double getValue()
public void setValue(double value)
public void clear()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(MaltFeatureNode aThat)
compareTo
in interface java.lang.Comparable<MaltFeatureNode>
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.