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