com.google.ical.util.Predicates Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of recurrence Show documentation
Show all versions of recurrence Show documentation
Contains the RFC 2445 support.
The newest version!
/**
* Copyright (C) 2015, 2016 Dirk Lemmermann Software & Consulting (dlsc.com)
*
* This file is part of CalendarFX.
*/
// CopyrightGoogle Inc. All rights reserved.
package com.google.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