public class SingleFeatureValue extends FeatureValue
Modifier and Type | Field and Description |
---|---|
protected int |
indexCode |
protected java.lang.String |
symbol |
protected double |
value |
nullValue
function
Constructor and Description |
---|
SingleFeatureValue(Function function) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getIndexCode() |
java.lang.String |
getSymbol() |
double |
getValue() |
int |
hashCode() |
boolean |
isMultiple() |
int |
nFeatureValues() |
void |
reset() |
void |
setIndexCode(int code) |
void |
setSymbol(java.lang.String symbol) |
void |
setValue(double value) |
java.lang.String |
toString() |
void |
update(int indexCode,
java.lang.String symbol,
boolean nullValue,
double value) |
isNullValue, setNullValue
getFunction, setFunction
protected int indexCode
protected java.lang.String symbol
protected double value
public SingleFeatureValue(Function function)
public void reset()
reset
in class FeatureValue
public void update(int indexCode, java.lang.String symbol, boolean nullValue, double value)
public int getIndexCode()
public void setIndexCode(int code)
public java.lang.String getSymbol()
public void setSymbol(java.lang.String symbol)
public double getValue()
public void setValue(double value)
public boolean isMultiple()
isMultiple
in class FeatureValue
public int nFeatureValues()
nFeatureValues
in class FeatureValue
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class FeatureValue
public java.lang.String toString()
toString
in class FeatureValue
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.