- All Implemented Interfaces:
BStream
, BooleanSupplier
A FilteredBStream is similar to a FilteredIStream.
It works like a BStream, 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
boolean
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
-
FilteredBStream
Makes filtered stream from stream and stream filter
- Parameters:
stream
- input stream
filter
- stream filter
-
Method Details
-
get
public boolean get()
Get next value from filtered stream
- Specified by:
get
in interface BStream
- Returns:
- next value