code: public static <T> ActionPredicate<T> fromAction
  	(final Action<T> action,
  	 final boolean predicateResult) {
  	
  	return new ActionPredicate<T>() {
  	    public boolean actionPredicate(T obj) {
  		action.action(obj);
  		return predicateResult;
  	    }
  	};
      }
docs: Creates an <code>ActionPredicate</code> whose
  <code>actionPredicate</code> method first invokes the action
  from <code>action</code> and next returns the constant boolean
  value <code>predicateResult</code>.