public interface MapFilter<R,S>
Map
and Filter
, mapping
unacceptable objects to null
and acceptable ones to their mapped
value.Modifier and Type | Method and Description |
---|---|
S |
accept(R x)
a compiled filter and test - returns null if x is unacceptable, and
the mapped value if x is acceptable; clearly useless if the mapping
might deliver null.
|
Licenced under the Apache License, Version 2.0