Class AbstractMatcher

java.lang.Object
org.apache.juneau.objecttools.AbstractMatcher

public abstract class AbstractMatcher extends Object
Common interface for matchers used by the ObjectSearcher class.
See Also:
  • Constructor Details

  • Method Details

    • matches

      public abstract boolean matches(ClassMeta<?> cm, Object o)
      Returns true if this matcher matches the specified object..
      Parameters:
      cm - The class type of the object being matched. Never null.
      o - The object being matched. Never null.
      Returns:
      true if the specified object matches the specified pattern.