Example usage for org.apache.commons.collections Predicate interface-usage

List of usage examples for org.apache.commons.collections Predicate interface-usage

Introduction

In this page you can find the example usage for org.apache.commons.collections Predicate interface-usage.

Usage

From source file org.springmodules.validation.valang.predicates.AbstractPropertyPredicate.java

/**
 * <p>AbstractPropertyPredicate deals with extracting values from properties and as such
 * is a utilty base class.
 *
 * @author Steven Devijver
 * @since 23-04-2005

From source file org.onexus.website.api.utils.visible.VisiblePredicate.java

public class VisiblePredicate implements Predicate {

    private ORI parentURI;
    private Collection<IEntitySelection> filters;

    public VisiblePredicate(ORI parentURI, Collection<IEntitySelection> filters) {

From source file no.sesat.search.query.token.TokenPredicate.java

/** A Categorisation of knowledge that attaches itself
 *   as meta-data to words and groups of words (clauses) within a query. <br/><br/>
 *
 * <b>
 * Requirement that TokenPredicate, of any implementation, have a unique name.
 *</b>

From source file org.openvpms.component.business.service.archetype.functor.IsActiveRelationship.java

/**
 * Predicate to determine if an {@link IMObjectRelationship} or {@link PeriodRelationship PeriodRelationship} is active
 * or not.
 * <p/>
 * If the relationship is an {@link PeriodRelationship}, it is active as per {@link PeriodRelationship#isActive(Date)},
 * else it is active as per {@link IMObjectRelationship#isActive()}.

From source file com.discursive.jccook.collections.predicate.XPathPredicate.java

public class XPathPredicate implements Predicate {

    private String path;
    private Map variables = TypedMap.decorate(new HashMap(), String.class, Object.class);

    public XPathPredicate(String path) {

From source file org.ecside.table.callback.FilterPredicate.java

/**
 * Use the Jakarta Collections predicate pattern to filter out the table.
 * 
 * @author Jeff Johnston
 */

From source file org.openvpms.component.business.service.archetype.functor.RefEquals.java

/**
 * A <tt>Predicate</tt> that evaluates <tt>true</tt> if an
 * {@link IMObjectReference IMObjectReference} equals the
 * specified value, otherwise evaluates <tt>false</tt>.
 *
 * @author <a href="mailto:support@openvpms.org">OpenVPMS Team</a>

From source file org.extremesite.callback.ExactMatchFilterPredicate.java

/**
 * Use the Jakarta Collections predicate pattern to filter out the table.
 * 
 * @author Jeff Johnston
 */
public final class ExactMatchFilterPredicate implements Predicate {

From source file org.extremecomponents.table.callback.FilterPredicate.java

/**
 * <br/>
 * Use the Jakarta Collections predicate pattern to filter out the table.
 * 
 * @author Jeff Johnston
 */

From source file org.sakaiproject.conditions.api.Condition.java

/**
 * extension of <code>org.apache.commons.collections.Predicate</code> to include all the operations we need to 
 * evaluate a condition like "gradebook grade is less than 79"
 * @author Zach A. Thomas <zach@aeroplanesoftware.com>
 *
 */