Class IFilterGroup

java.lang.Object
com.stuypulse.stuylib.streams.numbers.filters.IFilterGroup
All Implemented Interfaces:
IFilter

public class IFilterGroup extends Object implements IFilter
A class that lets you combine multiple stream filters into one stream filter
  • Constructor Details

    • IFilterGroup

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

    • get

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