All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.annimon.stream.function.ThrowableLongPredicate Maven / Gradle / Ivy

There is a newer version: 1.2.2
Show newest version
package com.annimon.stream.function;

/**
 * Represents a {@code long}-valued predicate (function with boolean type result).
 *
 * @param  the type of the exception
 * @since 1.1.7
 * @see LongPredicate
 */
public interface ThrowableLongPredicate {

    /**
     * Tests the value for satisfying predicate.
     *
     * @param value  the value to be tested
     * @return {@code true} if the value matches the predicate, otherwise {@code false}
     * @throws E an exception
     */
    boolean test(long value) throws E;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy