Klasse ClassMatcher

java.lang.Object
org.opentcs.util.ClassMatcher
Alle implementierten Schnittstellen:
Serializable, Predicate<Object>

public class ClassMatcher extends Object implements Predicate<Object>, Serializable
Checks whether the input argument is assignable to any of a given set of classes.
Siehe auch:
  • Konstruktordetails

    • ClassMatcher

      public ClassMatcher(Class<?>... events)
      Creates a new instance.
      Parameter:
      events - The set of classes to evaluate incoming events to.
  • Methodendetails