com.google.ical.util.Predicate 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.
/**
* 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;
/**
* 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);
}