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