package org.nanotek.util.logic;
|
//Element <S> is the item to be tested on the test bed.
|
public interface TestAble<S> {
|
|
/** |
* Returns {@literal true} if the input object matches some criteria. |
*
@author josecanovamauger
|
* @param t The input object. |
* @return {@literal true} if the criteria matches, {@literal false} otherwise. |
*/
|
public abstract boolean test(S t);
|
|
|
|
Onhô / o in :o |
}
package org.nanotek.util.logic;
|
|
|
Eves and Tons... |
|
//Assert come from reactor util
|
|
/** |
* Determines if the input object matches some criteria. |
* |
* @param <T> the type of object that the predicate can test |
* |
* @author Jon Brisbin |
*/
|
public abstract class Predicate<T> implements TestAble<T>{
}
public class Census {
public static void addRegistry(Map<String, ? extends Person> registry) {
}
|
and on "concrete class" a Paralelogram Parallelogram >becames a Rombous.
|