Example usage for com.google.common.base Predicate interface-usage

List of usage examples for com.google.common.base Predicate interface-usage

Introduction

In this page you can find the example usage for com.google.common.base Predicate interface-usage.

Usage

From source file org.robotframework.ide.eclipse.main.plugin.assist.AssistProposalPredicate.java

public interface AssistProposalPredicate<T> extends Predicate<T> {
    // just a marker interface for easier code navigation
}

From source file com.yahoo.yqlplus.engine.internal.java.functions.MethodHandlePredicate.java

public final class MethodHandlePredicate<T> implements Predicate<T> {
    private final MethodHandle handle;

    public MethodHandlePredicate(MethodHandle handle) {
        this.handle = handle;
    }

From source file hu.webhejj.commons.guava.StringPrefixPredicate.java

/**
 * A Google guava predicate that matches strings beginning
 * with the specified prefix, optionally ignoring case
 *
 */
public class StringPrefixPredicate implements Predicate<String> {

From source file org.geoserver.flow.controller.IpRequestMatcher.java

/**
 * Matches a request by a certain IP address
 * 
 * @author Andrea Aime - GeoSolutions
 * 
 */

From source file org.carrot2.util.attribute.LevelsPredicate.java

/**
 * A predicate that tests whether an {@link AttributeDescriptor} belongs to any of the
 * provided levels.
 */
public final class LevelsPredicate implements Predicate<AttributeDescriptor> {
    private final AttributeLevel[] levels;

From source file com.webbfontaine.valuewebb.irms.impl.assignment.WorkloadAssigneesGroupPredicate.java

public class WorkloadAssigneesGroupPredicate implements Predicate<Map.Entry<String, BigDecimal>> {

    private final Collection<String> assignees;

    public WorkloadAssigneesGroupPredicate(Collection<String> assignees) {
        this.assignees = assignees;

From source file name.martingeisse.webide.features.simvm.editor.AtmosphereResourceCaptureFilter.java

/**
 * This filter checks whether the event payload implements {@link ISetter}
 * and if so, sets the {@link AtmosphereResource} using that interface.
 */
public class AtmosphereResourceCaptureFilter implements Predicate<AtmosphereEvent> {

From source file ui.com.bc.wicket.utils.ReceiverFilter.java

public class ReceiverFilter implements Predicate<AtmosphereEvent> {
    public ReceiverFilter() {
    }

    @Override
    public boolean apply(AtmosphereEvent input) {

From source file org.dspace.xoai.util.MetadataNamePredicate.java

public class MetadataNamePredicate implements Predicate<Element> {
    private String name;

    public MetadataNamePredicate(String n) {
        name = n;
    }

From source file ru.codeinside.gses.webui.declarant.EmployeePredicate.java

public class EmployeePredicate implements Predicate<User> {

    private String employee;

    public EmployeePredicate(String employee) {
        this.employee = employee;