com.alee.utils.compare
Interface Filter<E>

All Known Implementing Classes:
AbstractFileFilter, AllFilesFilter, AsyncTreeNodesFilter, CustomFileFilter, DirectoriesFilter, FilesFilter, FileTreeNodeFilter, GroupedFileFilter, ImageFilesFilter, NonHiddenFilter, WebFileChooserPanel.HiddenFilesFilter

public interface Filter<E>

This interface provides a base for filtering any type of objects in any situation. This class is similar to FileFilter from default file chooser, but it doesn't require any specific object type like File.

Author:
Mikle Garin

Method Summary
 boolean accept(E object)
          Returns whether the specified object is accepted by this filter or not.
 

Method Detail

accept

boolean accept(E object)
Returns whether the specified object is accepted by this filter or not.

Parameters:
object - object to process
Returns:
true if the specified object is accepted by this filter, false otherwise