- All Implemented Interfaces:
VFilter
A class that lets you combine multiple vector filters into one vector filter.
-
Constructor Summary
Constructors
Make VFilterGroup out of an array of Filters
-
Method Summary
Get next value in Filter based on the next value given
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.stuypulse.stuylib.streams.vectors.filters.VFilter
add, sub, then
-
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
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