Interface INativeFeature
Characteristics computed on a native item.
-
Method Summary
Modifier and TypeMethodDescriptiondeepCopy()
Returns a deep copy of the featuregetType()
Returns a String describing the feature type.getValue()
Returns the feature valueboolean
match
(INativeFeature feature) Match features; two features are "matching" if they are equals from a signatures matching point-of-view.
-
Method Details
-
getValue
Object getValue()Returns the feature value -
getType
String getType()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
-- Returns:
- true if the two features match, false otherwise
-
deepCopy
INativeFeature deepCopy()Returns a deep copy of the feature
-