com.koloboke.function
Interface ShortPredicate
public interface ShortPredicate
Represents a predicate (boolean-valued function) of one short
-valued
argument. This is the short
-consuming primitive type specialization of
Predicate
.
- See Also:
Predicate
Method Summary |
boolean |
test(short value)
Evaluates this predicate on the given argument. |
test
boolean test(short value)
- Evaluates this predicate on the given argument.
- Parameters:
value
- the input argument
- Returns:
true
if the input argument matches the predicate,
otherwise false