Class Functions.ClassFilter<T,U>

java.lang.Object
io.reactivex.rxjava3.internal.functions.Functions.ClassFilter<T,U>
All Implemented Interfaces:
Predicate<T>
Enclosing class:
Functions

static final class Functions.ClassFilter<T,U> extends Object implements Predicate<T>
  • Field Details

    • clazz

      final Class<U> clazz
  • Constructor Details

    • ClassFilter

      ClassFilter(Class<U> clazz)
  • Method Details

    • test

      public boolean test(T t)
      Description copied from interface: Predicate
      Test the given input value and return a boolean.
      Specified by:
      test in interface Predicate<T>
      Parameters:
      t - the value
      Returns:
      the boolean result