org.jresearch.ical.util.Predicate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.jresearch.google-rfc-2445 Show documentation
Show all versions of org.jresearch.google-rfc-2445 Show documentation
RFC 2445 defines protocols for interoperability between calendar applications, and this library provides java implementations for a number of RFC 2445 primitives including those that describe how events repeat. Start by taking alook at the compat packages.
// CopyrightGoogle Inc. All rights reserved.
package org.jresearch.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);
}