org.apache.commons.collections.functors.TruePredicate Java Examples
The following examples show how to use
org.apache.commons.collections.functors.TruePredicate.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: KeyValueSet.java From hop with Apache License 2.0 | 2 votes |
/** * Walk entries. * * @param handler handler to call. * @throws IllegalArgumentException if handler is null. */ public void walk( final Closure handler ) throws IllegalArgumentException { this.walk( handler, TruePredicate.INSTANCE ); }
Example #2
Source File: PredicateUtils.java From Penetration_Testing_POC with Apache License 2.0 | 2 votes |
/** * Gets a Predicate that always returns true. * * @see org.apache.commons.collections.functors.TruePredicate * * @return the predicate */ public static Predicate truePredicate() { return TruePredicate.INSTANCE; }
Example #3
Source File: KeyValueSet.java From pentaho-kettle with Apache License 2.0 | 2 votes |
/** * Walk entries. * * @param handler * handler to call. * @throws IllegalArgumentException * if handler is null. */ public void walk( final Closure handler ) throws IllegalArgumentException { this.walk( handler, TruePredicate.INSTANCE ); }