Class AFilterGroup

java.lang.Object
com.stuypulse.stuylib.streams.angles.filters.AFilterGroup
All Implemented Interfaces:
AFilter

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

    • AFilterGroup

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

    • get

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