Class VFilterGroup

java.lang.Object
com.stuypulse.stuylib.streams.vectors.filters.VFilterGroup
All Implemented Interfaces:
VFilter

public class VFilterGroup extends Object implements VFilter
A class that lets you combine multiple vector filters into one vector filter.
  • Constructor Details

    • VFilterGroup

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

    • get

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