001    package users.swing;
002    
003    import users.*;
004    
005    /**
006     * A Filter function that takes <code>Users</code> and returns a boolean value.
007     *
008     * @see UserListModel
009     * @see User
010     *
011     * @author Steffen Zschaler
012     * @version 2.0 22/07/1999
013     * @since v2.0
014     */
015    public interface UserFilter extends java.io.Serializable {
016    
017        /**
018         * A Filter function that takes <code>Users</code> and returns a boolean value. The function must return
019         * true if a <code>User</code> is to be displayed.
020         *
021         * @see UserListModel
022         * @see User
023         *
024         * @override Always
025         */
026        public boolean match(User u);
027    }