com.google.ical.util.Predicate Maven / Gradle / Ivy
The newest version!
// CopyrightGoogle Inc. All rights reserved.
package com.google.ical.util;
/**
* A function with a boolean return value useful for filtering.
*/
public interface Predicate {
/**
* Applies this Predicate to the given object.
*
* @param t may be null.
* @return the value of this Predicate when applied to input {@code t}
*/
boolean apply(T t);
}