i want implement Filter concept by using java in my project .can u any one help me
Most filters have a single predicate method which indicates whether the argument passes through the filter. Look at java.io.FilenameFilter and java.io.FileFilter as examples.
public interface Filter
public boolean accept(T target);
Another type of filter is similar to lenses and filters for cameras which manipulate graphical data. See java.awt.image.ImageFilter .
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.