javolution.util.function.Predicate Maven / Gradle / Ivy
The newest version!
/*
* Javolution - Java(TM) Solution for Real-Time and Embedded Systems
* Copyright (C) 2012 - Javolution (http://javolution.org/)
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software is
* freely granted, provided that this notice is preserved.
*/
package javolution.util.function;
/**
* A function which states or affirms the attribute or quality of something.
*
* Note: In future version this interface may derive from
* {@code Function
}.
* @param The type of input object to test.
*
* @see
* Wikipedia: Predicate
*
* @author Jean-Marie Dautelle
* @version 6.0, July 21, 2013
*/
public interface Predicate {
/**
* Tests the specified value.
*/
boolean test(T param);
}