List of usage examples for org.apache.commons.functor Predicate interface-usage
From source file org.apache.commons.functor.example.lines.Contains.java
/** * @version $Revision: 1508677 $ $Date: 2013-07-30 19:48:02 -0300 (Tue, 30 Jul 2013) $ */ public class Contains<T> implements Predicate<T> { public Contains(String str) { this.str = str;
From source file org.apache.commons.functor.example.lines.StartsWith.java
/** * @version $Revision: 1508677 $ $Date: 2013-07-30 19:48:02 -0300 (Tue, 30 Jul 2013) $ */ public class StartsWith<T> implements Predicate<T> { public StartsWith(String prefix) { this.prefix = prefix;
From source file org.apache.commons.functor.example.kata.four.IsInteger.java
/**
* Tests to true iff the input object can be converted to
* an Integer by {@link ToInteger}.
*
* @version $Revision: 1508677 $ $Date: 2013-07-30 19:48:02 -0300 (Tue, 30 Jul 2013) $
*/