Interface INativeFeature


@Ser public interface INativeFeature
Characteristics computed on a native item.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a deep copy of the feature
    Returns a String describing the feature type.
    Returns the feature value
    boolean
    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

      boolean match(INativeFeature feature)
      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