- All Implemented Interfaces:
VStream
, Supplier<Vector2D>
A FilteredVStream is similar to a FilteredIStream.
It works like a VStream, but every time you call .get(), it runs the value through the filters
you provided it.
-
Constructor Summary
Constructors
Makes filtered stream from stream and stream filter
-
Method Summary
Get next value from filtered stream
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FilteredVStream
Makes filtered stream from stream and stream filter
- Parameters:
stream
- input stream
filter
- stream filter
-
Method Details
-
get
Get next value from filtered stream
- Specified by:
get
in interface Supplier<Vector2D>
- Specified by:
get
in interface VStream
- Returns:
- next value