package com.annimon.stream.function; /** * Represents a supplier of {@code int}-valued results. * * @param <E> the type of the exception * @since 1.1.7 * @see IntSupplier */ @FunctionalInterface public interface ThrowableIntSupplier<E extends Throwable> { /** * Gets a result. * * @return a result * @throws E an exception */ int getAsInt() throws E; }