Class RsFeats
java.lang.Object
org.apache.uima.analysis_engine.impl.RsFeats
represents the updateable list of features, each with a particular language spec
a given feature only appears once in the list, with the union of all languages
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
ASSUMES feat not exist in features already(package private) boolean
(package private) RsFeat
linear search in list for short feat nameiterator()
(package private) void
Assume features != null remove a feature, regardless of language(s)(package private) int
size()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
features
-
nullIterator
-
-
Constructor Details
-
RsFeats
RsFeats() -
RsFeats
RsFeats(RsFeats other) copies into a new feature list, shares the languages- Parameters:
other
-
-
-
Method Details
-
size
int size() -
add
ASSUMES feat not exist in features already- Parameters:
feat
-
-
remove
Assume features != null remove a feature, regardless of language(s)- Parameters:
shortFeatName
-
-
contains
-
get
linear search in list for short feat name- Parameters:
shortFeatName
- - canonicalized short feature name- Returns:
- the RsFeat or null
-
iterator
-