public interface FeatureMap extends SimpleFeatureMap
Modifier and Type | Method and Description |
---|---|
void |
addFeatureMapListener(FeatureMapListener l)
Adds a gate listener
|
void |
removeFeatureMapListener(FeatureMapListener l)
Removes a gate listener
|
boolean |
subsumes(FeatureMap aFeatureMap)
Tests if this featureMap object includes aFeatureMap features.
|
boolean |
subsumes(FeatureMap aFeatureMap,
Set<? extends Object> aFeatureNamesSet)
Tests if this featureMap object includes aFeatureMap but only
for the features present in the aFeatureNamesSet.
|
boolean |
subsumes(Ontology ontologyLR,
FeatureMap aFeatureMap)
Tests if this featureMap object includes aFeatureMap features.
|
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
boolean subsumes(FeatureMap aFeatureMap)
aFeatureMap
- object which will be included or not in this
FeatureMap obj.true
if this includes aFeatureMap
and false
if not.boolean subsumes(Ontology ontologyLR, FeatureMap aFeatureMap)
class
and (optionally) ontology
features:ontologyLR
- an ontology to be used for the subsumeaFeatureMap
- object which will be included or not in this
FeatureMap obj.true
if this includes aFeatureMap
and false
if not.boolean subsumes(FeatureMap aFeatureMap, Set<? extends Object> aFeatureNamesSet)
aFeatureMap
- which will be included or not in this
FeatureMap obj.aFeatureNamesSet
- is a set of strings representing the names of the
features that would be considered for subsumes.true
if all features present in the aFeaturesNameSet
from aFeatureMap are included in this obj, or false
otherwise.void removeFeatureMapListener(FeatureMapListener l)
void addFeatureMapListener(FeatureMapListener l)
Copyright © 2024 GATE. All rights reserved.