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 adalid.core.predicates.IsEntityNameIncluded.java

/**
 * @author Jorge Campins
 */
public class IsEntityNameIncluded implements Predicate {

    @Override

From source file adalid.core.predicates.IsEntityNameNotExcluded.java

/**
 * @author Jorge Campins
 */
public class IsEntityNameNotExcluded implements Predicate {

    @Override

From source file adalid.core.predicates.IsTableViewEnabledEntityReference.java

/**
 * @author Jorge Campins
 */
public class IsTableViewEnabledEntityReference implements Predicate {

    @Override

From source file adalid.core.predicates.IsDetailViewEnabledEntityReference.java

/**
 * @author Jorge Campins
 */
public class IsDetailViewEnabledEntityReference implements Predicate {

    @Override

From source file org.beanfuse.collection.predicates.CollectionHasUpto1ElementPredicate.java

public class CollectionHasUpto1ElementPredicate implements Predicate {

    public boolean evaluate(final Object object) {
        boolean success = true;
        if (object instanceof Collection) {
            success = ((Collection) object).size() < 2;

From source file org.examproject.tweet.util.IsContainKrHangulCodePredicate.java

/**
 * @author hiroxpepe
 */
public class IsContainKrHangulCodePredicate implements Predicate {

    @Override

From source file com.mulesoft.mql.impl.JoinPredicate.java

public class JoinPredicate implements Predicate {

    private final QueryBuilder queryBuilder;
    private Serializable compiledExpression;
    private JoinBuilder join;
    private Serializable onExpression;

From source file adalid.core.predicates.IsPersistentEntityWithDisplay.java

/**
 * @author Jorge Campins
 */
public class IsPersistentEntityWithDisplay implements Predicate {

    @Override

From source file org.beanfuse.collection.predicates.InCollectionPredicate.java

public class InCollectionPredicate implements Predicate {

    private final Collection objs;

    public InCollectionPredicate(Collection objs) {
        super();

From source file com.phoenixst.collections.TruePredicate.java

/**
 *  A <code>Predicate</code> which always returns <code>true</code>.
 *
 *  <P>This is mostly equivalent to the class of the same name in
 *  Jakarta Commons-Collections 3.0.  This implementation fixes a
 *  serialization bug in the Jakarta version so that the singleton