
public abstract static class ClassLabel.Factory<L extends ClassLabel> extends Object
| Modifier and Type | Field and Description | 
|---|---|
protected HashMap<String,L> | 
existing
Set for reusing the same objects. 
 | 
| Constructor and Description | 
|---|
ClassLabel.Factory()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract SimpleTypeInformation<? super L> | 
getTypeInformation()
Get type information for the labels. 
 | 
abstract L | 
makeFromString(String lbl)
Convert a string into a class label. 
 | 
protected HashMap<String,L extends ClassLabel> existing
public abstract L makeFromString(String lbl)
lbl - String to convertpublic abstract SimpleTypeInformation<? super L> getTypeInformation()