public class MultipleFeatureValue extends FeatureValue
Modifier and Type | Field and Description |
---|---|
protected java.util.SortedMap<java.lang.Integer,java.lang.String> |
featureValues |
nullValue
function
Constructor and Description |
---|
MultipleFeatureValue(Function function) |
Modifier and Type | Method and Description |
---|---|
void |
addFeatureValue(int code,
java.lang.String Symbol) |
boolean |
equals(java.lang.Object obj) |
java.util.Set<java.lang.Integer> |
getCodes() |
int |
getFirstCode() |
java.lang.String |
getFirstSymbol() |
java.util.Set<java.lang.String> |
getSymbols() |
boolean |
isMultiple() |
int |
nFeatureValues() |
void |
reset() |
protected void |
setFeatureValues(java.util.SortedMap<java.lang.Integer,java.lang.String> featureValues) |
java.lang.String |
toString() |
isNullValue, setNullValue
getFunction, setFunction
protected java.util.SortedMap<java.lang.Integer,java.lang.String> featureValues
public MultipleFeatureValue(Function function)
public void reset()
reset
in class FeatureValue
public void addFeatureValue(int code, java.lang.String Symbol)
protected void setFeatureValues(java.util.SortedMap<java.lang.Integer,java.lang.String> featureValues)
public java.util.Set<java.lang.Integer> getCodes()
public int getFirstCode()
public java.util.Set<java.lang.String> getSymbols()
public java.lang.String getFirstSymbol()
public boolean isMultiple()
isMultiple
in class FeatureValue
public int nFeatureValues()
nFeatureValues
in class FeatureValue
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.