类 LambdaSafe.GenericTypeFilter<C,A>

java.lang.Object
cn.taketoday.util.LambdaSafe.GenericTypeFilter<C,A>
所有已实现的接口:
LambdaSafe.Filter<C,A>
封闭类:
LambdaSafe

private static class LambdaSafe.GenericTypeFilter<C,A> extends Object implements LambdaSafe.Filter<C,A>
LambdaSafe.Filter that matches when the callback has a single generic and primary argument is an instance of it.
  • 构造器详细资料

    • GenericTypeFilter

      private GenericTypeFilter()
  • 方法详细资料

    • match

      public boolean match(Class<C> callbackType, C callbackInstance, A argument, Object[] additionalArguments)
      从接口复制的说明: LambdaSafe.Filter
      Determine if the given callback matches and should be invoked.
      指定者:
      match 在接口中 LambdaSafe.Filter<C,A>
      参数:
      callbackType - the callback type (the functional interface)
      callbackInstance - the callback instance (the implementation)
      argument - the primary argument
      additionalArguments - any additional arguments
      返回:
      if the callback matches and should be invoked