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.collections.FalsePredicate.java

/**
 *  A <code>Predicate</code> which always returns <code>false</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

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

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

    @Override

From source file org.beanfuse.model.predicates.EmptyKeyPredicate.java

public class EmptyKeyPredicate implements Predicate {

    public boolean evaluate(final Object value) {
        boolean success = false;
        if (null != value) {
            if (value instanceof String) {

From source file de.hybris.platform.accountsummaryaddon.document.B2BDocumentPastDuePredicate.java

public class B2BDocumentPastDuePredicate implements Predicate {
    public B2BDocumentPastDuePredicate() {
    }

    @Override
    public boolean evaluate(final Object doc) {

From source file info.mikaelsvensson.devtools.sitesearch.WordEntryFilter.java

public interface WordEntryFilter extends Predicate {
    boolean accept(WordCount entry);
}

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

public class InStrPredicate implements Predicate {

    private final String str;

    public InStrPredicate(final String str) {
        this.str = str;

From source file info.mikaelsvensson.devtools.sitesearch.AbstractWordEntryFilter.java

public abstract class AbstractWordEntryFilter implements WordEntryFilter, Predicate {
    @Override
    public boolean evaluate(final Object object) {
        return object instanceof WordCount && accept((WordCount) object);
    }

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

public class NotZeroNumberPredicate implements Predicate {

    /**
     * @see org.apache.commons.collections.Predicate#evaluate(java.lang.Object)
     */
    public boolean evaluate(final Object value) {

From source file org.openmrs.api.db.hibernate.AttributeMatcherPredicate.java

/**
 * Used in conjunction with commons-collections filter to find attributes with values in the given map.
 * @since 1.9
 */
public class AttributeMatcherPredicate<T extends Customizable, AT extends AttributeType> implements Predicate {

From source file org.talend.dq.indicators.graph.VertexDisplayPredicate.java

public final class VertexDisplayPredicate implements Predicate {

    public final static int DEFAULT_DEGREE = 0;

    protected boolean filter_small;