|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MapFilter<R,S>
Combines the actions of Map
and Filter
, mapping
unacceptable objects to null
and acceptable ones to their mapped
value.
Method Summary | |
---|---|
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. |
Method Detail |
---|
S accept(R x)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |