List of usage examples for org.apache.commons.collections Predicate interface-usage
From source file com.discursive.jccook.collections.predicate.ValidTeamPredicate.java
public class ValidTeamPredicate implements Predicate { public boolean evaluate(Object object) { Team team = (Team) object; return team.getName() != null; }
From source file org.tonguetied.keywordmanagement.TranslationPredicate.java
/**
* This predicate is used to find {@link Translation}s based off its
* business keys of {@link Bundle}, {@link Country} and {@link Language}.
*
* @author bsion
*
From source file com.discursive.jccook.collections.predicate.ValidCoachPredicate.java
public class ValidCoachPredicate implements Predicate { public boolean evaluate(Object object) { boolean validCoach = false; Team team = (Team) object; if (team.getCoach() != null && team.getCoach().getFirstName() != null
From source file org.beanfuse.model.predicates.ValidEntityPredicate.java
/**
* ?
*
* @author chaostone
*
*/
From source file fr.dudie.acrachilisync.utils.CustomFieldIdPredicate.java
/** * @author Jrmie Huchet */ public final class CustomFieldIdPredicate implements Predicate { /** The expected custom field id. */
From source file org.beanfuse.model.predicates.ValidEntityKeyPredicate.java
/**
* ?
*
* @author chaostone
*
*/
From source file org.springmodules.xt.model.specifications.adapter.PredicateCompositeAdapter.java
/** * Adapts a {@link org.springmodules.xt.model.specifications.composite.CompositeSpecification} to {@link org.apache.commons.collections.Predicate} interface. * * @author Sergio Bossa */ public class PredicateCompositeAdapter implements Predicate {
From source file com.phoenixst.collections.AllPredicate.java
/**
* A <code>Predicate</code> which returns the logical short-circuit
* <em>and</em> of its operands.
*
* <P>This is mostly equivalent to the class of the same name in
* Jakarta Commons-Collections 3.0. The deserialization process
From source file com.phoenixst.collections.AnyPredicate.java
/**
* A <code>Predicate</code> which returns the logical short-circuit
* <em>or</em> of its operands.
*
* <P>This is mostly equivalent to the class of the same name in
* Jakarta Commons-Collections 3.0. The deserialization process
From source file org.openconcerto.utils.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;