org.jresearch.ical.util.Predicates 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.
The newest version!
// CopyrightGoogle Inc. All rights reserved.
package org.jresearch.ical.util;
import java.io.Serializable;
import java.util.Collection;
/**
* static methods for creating the standard set of {@link Predicate} objects.
*/
public class Predicates {
private Predicates() {
// uninstantiable
}
/*
* For constant Predicates a single instance will suffice; we'll cast it to
* the right parameterized type on demand.
*/
private static final Predicate> ALWAYS_TRUE =
new AlwaysTruePredicate