Class RsTypesMap
java.lang.Object
org.apache.uima.analysis_engine.impl.RsTypesMap
This object holds the set of RsTypes for a result spec There is one instance of this per
ResultSpecification_impl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
add a type (not a type:feat)(package private) void
(package private) void
add a feature (not a plain type) If feature exists, augments (union) its languages or replaces it(package private) RsLangs
addLanguages
(RsLangs existing, Object langs, boolean replace) (package private) RsLangs
addLanguages
(RsLangs existing, RsLangs rslangs, boolean replace) boolean
(package private) RsFeat
(package private) RsType
int
hashCode()
iterator()
(package private) int
(package private) void
Remove a type, regardless of languages NOTE: doesn't remove type:feature entries associated with that type(package private) void
remove a feature, regardless of languages If all features are removed, null out the rsFeats slot.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
types
-
-
Constructor Details
-
RsTypesMap
RsTypesMap() -
RsTypesMap
RsTypesMap(RsTypesMap src) cloning constructor - clones its arg- Parameters:
src
-
-
-
Method Details
-
add
add a type (not a type:feat)- Parameters:
typeName
-isAllFeat
-languages
-replace
-
-
add
-
add
add a feature (not a plain type) If feature exists, augments (union) its languages or replaces it- Parameters:
typeName
-replace
-featName
-languages
-
-
addLanguages
-
addLanguages
-
remove
Remove a type, regardless of languages NOTE: doesn't remove type:feature entries associated with that type- Parameters:
type
-
-
remove
remove a feature, regardless of languages If all features are removed, null out the rsFeats slot. If all features are removed, and no type instance, remove the type also.- Parameters:
feature
- Short NametypeName
-
-
getRsType
-
get
-
nbrOfTypes
int nbrOfTypes() -
iterator
-
hashCode
public int hashCode() -
equals
-