Interface INativeFeature
Characteristics computed on a native item.
-
Method Summary
Modifier and TypeMethodDescriptiondeepCopy()Create a deep copy of the feature.getType()Get the feature type display name.getValue()Get the feature value.booleanmatch(INativeFeature feature) Match features; two features are "matching" if they are equals from a signatures matching point-of-view.
-
Method Details
-
getValue
Object getValue()Get the feature value.- Returns:
- feature value
-
getType
String getType()Get the feature type display name.- Returns:
- a String describing the feature type. Used only for display purpose
-
match
Match features; two features are "matching" if they are equals from a signatures matching point-of-view. Feature matching is an equivalence relation (reflexive, symmetric and transitive).Note: two features might be not be equals() and still be matching. Therefore, this method should be the preferred one for signatures matching.
- Parameters:
feature- feature to compare against- Returns:
- true if the two features match, false otherwise
-
deepCopy
INativeFeature deepCopy()Create a deep copy of the feature.- Returns:
- deep copy of this feature
-