Class InstanceOfPredicate<T>

  • All Implemented Interfaces:
    IUnaryPredicate<T>

    public class InstanceOfPredicate<T>
    extends java.lang.Object
    implements IUnaryPredicate<T>
    Unary predicate returning true if the object is an instance of the given class or interface.
    Since:
    5.7
    • Constructor Summary

      Constructors 
      Constructor Description
      InstanceOfPredicate​(java.lang.Class<?> type)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean apply​(T obj)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InstanceOfPredicate

        public InstanceOfPredicate​(java.lang.Class<?> type)