com.annimon.stream.function.ThrowableDoubleSupplier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stream Show documentation
Show all versions of stream Show documentation
Stream API from Java 8 rewritten on iterators for Java 7 and below
package com.annimon.stream.function;
/**
* Represents a supplier of {@code double}-valued results.
*
* @param the type of the exception
* @since 1.1.7
* @see DoubleSupplier
*/
public interface ThrowableDoubleSupplier {
/**
* Gets a result.
*
* @return a result
* @throws E an exception
*/
double getAsDouble() throws E;
}