com.hp.hpl.jena.util.iterator
Interface MapFilter


public interface MapFilter

Combines the actions of Map and Filter, mapping unacceptable objects to null and acceptable ones to their mapped value.

Author:
kers

Method Summary
 Object accept(Object 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

accept

Object accept(Object 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. Tough.



Copyright © 2000, 2001, 2002, 2003, 2004 Hewlett-Packard Development Company, LP