Class RsFullFeatNames
- java.lang.Object
-
- org.apache.uima.analysis_engine.impl.RsFullFeatNames
-
public class RsFullFeatNames extends java.lang.Object
Implements a globally shared weak-reference map between types & features to the corresponding Full Feature name Used to avoid creating new full feature names when compiling result feature specs. Indexable for features via a 2 step index: typeName and shortFeatName NOTE: this static table ends up holding on to string representations of all types, all features, and all valid full feature names; there's no "cleanup".
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.concurrent.ConcurrentHashMap<java.lang.String,java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.String>>
typeName2TypeFeats
-
Constructor Summary
Constructors Constructor Description RsFullFeatNames()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getFullFeatName(java.lang.String typeName, java.lang.String shortFeatName)
private static java.lang.String
makeFullFeatName(java.lang.String typeName, java.lang.String shortFeatName)
-