Source code: com/k_int/IR/Filter.java
1 /**
2 * Title: Filter
3 * @version: $Id: Filter.java,v 1.2 2002/10/02 09:25:48 ianibbo Exp $
4 * Copyright: Copyright (C) 1999-2001 Knowledge Integration Ltd.
5 * @author: Ian Ibbotson (ian.ibbotson@k-int.com)
6 * Company: KI
7 * Description:
8 *
9 */
10
11
12 //
13 // This program is free software; you can redistribute it and/or
14 // modify it under the terms of the GNU General Public License
15 // as published by the Free Software Foundation; either version 2.1 of
16 // the license, or (at your option) any later version.
17 //
18 // This program is distributed in the hope that it will be useful,
19 // but WITHOUT ANY WARRANTY; without even the implied warranty of
20 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 // GNU General Public License for more details.
22 //
23 // You should have received a copy of the GNU General Public License
24 // along with this program; if not, write to the Free Software
25 // Foundation, Inc., 59 Temple Place - Suite
26 // 330, Boston, MA 02111-1307, USA.
27 //
28
29 package com.k_int.IR;
30
31 /**
32 * Interface implemented by SearchTask objects that are capable
33 * of informing a filter process that some object is or is not
34 * a part of it's result recordset.
35 */
36 public interface Filter
37 {
38 /**
39 * Is the object who's handle matches the specified handle
40 * present in the search result?
41 */
42 public boolean contains(Object handle);
43 }