2009-10-13 10:23:46 +02:00
|
|
|
/*
|
2011-10-28 08:17:54 +02:00
|
|
|
* This file is part of LibrePlan
|
2009-10-13 10:23:46 +02:00
|
|
|
*
|
2010-07-19 09:36:44 +02:00
|
|
|
* Copyright (C) 2009-2010 Fundación para o Fomento da Calidade Industrial e
|
2010-07-19 09:47:20 +02:00
|
|
|
* Desenvolvemento Tecnolóxico de Galicia
|
2011-01-19 18:00:09 +01:00
|
|
|
* Copyright (C) 2010-2011 Igalia, S.L.
|
2009-10-13 10:23:46 +02:00
|
|
|
*
|
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
|
* it under the terms of the GNU Affero General Public License as published by
|
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU Affero General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
|
|
|
|
|
2010-02-17 09:10:01 +01:00
|
|
|
package org.zkoss.ganttz;
|
2009-10-13 10:23:40 +02:00
|
|
|
|
|
|
|
|
/**
|
2009-10-13 10:23:46 +02:00
|
|
|
* Classes implementing this interface check if object matches a given
|
|
|
|
|
* condition, usually comparing to some attributes in concrete class
|
2009-10-13 10:23:40 +02:00
|
|
|
*
|
|
|
|
|
* @author Diego Pino Garcia <dpino@igalia.com>
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
public interface IPredicate {
|
|
|
|
|
|
2009-10-13 10:23:46 +02:00
|
|
|
boolean accepts(Object object);
|
2009-10-13 10:23:40 +02:00
|
|
|
|
|
|
|
|
}
|