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 com.phoenixst.plexus.util.EqualsTraverserPredicate.java

/**
 *  A <code>Predicate</code> which simply tests for equality with a
 *  specified {@link com.phoenixst.plexus.Graph.Edge}.
 *
 *  @version    $Revision: 1.7 $
 *  @author     Ray A. Conner

From source file org.xlcloud.console.virtualClusters.controllers.wizard.predicates.ApplicationFilterPredicate.java

/**
 * Predicate class used to check whether the application matches to the given filtering criteria
 * @author "Konrad Krl", AMG.net
 */
public class ApplicationFilterPredicate implements Predicate {

From source file org.tonguetied.keywordmanagement.TranslationKeywordPredicate.java

/**
 * This predicate is used to find {@link Translation}s based off its 
 * business keys of {@link Bundle}, {@link Country} and {@link Language} for a
 * particular {@link Keyword}.
 * 
 * @author bsion

From source file ke.co.tawi.babblesms.server.utils.comparator.PhonesByNetworkPredicate.java

/**
 * Used to filter {@link Phone}s by a Network.
 * <p>
 * 
 * @author <a href="mailto:michael@tawi.mobi">Michael Wakahe</a>
 * 

From source file org.jopendocument.util.cc.IPredicate.java

public abstract class IPredicate<E> implements Predicate {

    private static final IPredicate<Object> truePred = new IPredicate<Object>() {
        @Override
        public boolean evaluateChecked(Object input) {
            return true;

From source file org.jannocessor.collection.filter.impl.PredicateAdapter.java

@SuppressWarnings("rawtypes")
public class PredicateAdapter implements Predicate {

    private final Criteria<Object> criteria;

    @SuppressWarnings("unchecked")

From source file org.jannocessor.collection.filter.impl.ConditionPredicateAdapter.java

@SuppressWarnings("rawtypes")
public class ConditionPredicateAdapter implements Predicate {

    private final Condition condition;

    public ConditionPredicateAdapter(Condition condition) {

From source file org.apache.karaf.eik.core.features.FeatureOnlyPredicate.java

/**
 * A {@link Predicate} implementation that evaluates to {@code true} if the
 * supplied input is a {@link Feature}
 *
 */
final class FeatureOnlyPredicate implements Predicate {

From source file org.apache.karaf.eik.core.features.RepositoryOnlyPredicate.java

/**
 * A {@link Predicate} implementation that returns {@code true} if the supplied
 * input is a {@link Repository}
 *
 */
final class RepositoryOnlyPredicate implements Predicate {

From source file com.whirlycott.cache.policy.ExpirationTimePredicate.java

/**
 * A predicate for filtering Collections of Items based on their expiration
 * time.
 * 
 * @author Seth Fitzsimmons
 */