java.lang.Object
com.stuypulse.stuylib.streams.booleans.filters.BFilterGroup
All Implemented Interfaces:
BFilter

public class BFilterGroup extends Object implements BFilter
A class that lets you combine multiple boolean filters into one boolean filter.
  • Constructor Details

    • BFilterGroup

      public BFilterGroup(BFilter... filters)
      Make BFilterGroup out of an array of Filters
      Parameters:
      filters - list of filters to combine
  • Method Details

    • get

      public boolean get(boolean next)
      Description copied from interface: BFilter
      Get next value in Filter based on the next value given
      Specified by:
      get in interface BFilter
      Parameters:
      next - next input value in the stream
      Returns:
      the output value of the filter