code: public static <T> ActionPredicate<T> fromPredicate(final Predicate<T> predicate) {
  	return new ActionPredicate<T>() {
  	    public boolean actionPredicate(T obj) {
  		return predicate.check(obj);
  	    }
  	};
      }
docs: Creates an <code>ActionPredicate</code> wrapper around a
  <code>Predicate</code>: it does not perform any side-effect,
  it just returns the boolean value of teh predicate.