Class OrFilter<T>

java.lang.Object
com.spun.util.filters.OrFilter<T>
All Implemented Interfaces:
Filter<T>

@Deprecated public class OrFilter<T> extends Object implements Filter<T>
Deprecated.
use lambdas: a -> filter1 || filter2
Listens to the state of a EnabledConditions object
  • Constructor Details

    • OrFilter

      public OrFilter(Filter<T> filter1, Filter<T> filter2)
      Deprecated.
  • Method Details

    • isExtracted

      public boolean isExtracted(Object object)
      Deprecated.
      Specified by:
      isExtracted in interface Filter<T>
      Returns:
      true if the object would be extracted by the filter