Class AllComplex<E>

java.lang.Object
org.aoju.bus.shade.safety.complex.MixComplex<E>
org.aoju.bus.shade.safety.complex.AllComplex<E>
All Implemented Interfaces:
Complex<E>

public class AllComplex<E> extends MixComplex<E> implements Complex<E>
ALL逻辑混合规则 只要有一个规则不满足就立刻返回, 如果没有规则的时候则认为所有规则都满足
Since:
Java 17+
Author:
Kimi Liu
  • Constructor Details

    • AllComplex

      public AllComplex()
    • AllComplex

      public AllComplex(Collection<? extends Complex<? extends E>> filters)
  • Method Details

    • mix

      public AllComplex<E> mix(Complex<? extends E> filter)
      Specified by:
      mix in class MixComplex<E>
    • on

      public boolean on(E entry)
      Description copied from interface: Complex
      记录是否需要加/解密
      Specified by:
      on in interface Complex<E>
      Parameters:
      entry - 记录
      Returns:
      true: 需要 false:不需要