Interface DoubleConsumerWithThrows<T extends Throwable>
- Type Parameters:
T- The Throwable that may be thrown by the consumer.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A consumer that accepts a
double.- Since:
- 1.2
-
Method Summary
-
Method Details
-
accept
void accept(double e) throws T Performs this operation.- Parameters:
e- The argument.- Throws:
T- If an exception occurs
-