com.atlassian.bamboo.util
Interface DoubleThrowingPredicate<T,E extends java.lang.Throwable,F extends java.lang.Throwable>


public interface DoubleThrowingPredicate<T,E extends java.lang.Throwable,F extends java.lang.Throwable>

Determines a true or false value for a given input. You should only use it if the thrown exceptions should cause two completely different reactions in client code.


Method Summary
 boolean apply(T input)
          Returns the result of applying this predicate to input.
 

Method Detail

apply

boolean apply(@Nullable
              T input)
              throws E extends java.lang.Throwable,
                     F extends java.lang.Throwable
Returns the result of applying this predicate to input. This method is generally expected, but not absolutely required, to have the following properties:

Throws:
java.lang.NullPointerException - if input is null and this predicate does not accept null arguments
E extends java.lang.Throwable


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.