Package org.apache.jena.util.iterator
Interface MapFilter<R,S>
-
public interface MapFilter<R,S>
Combines the actions ofMap
andFilter
, mapping unacceptable objects tonull
and acceptable ones to their mapped value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-