@FunctionalInterface public interface DistributedPredicate<T> extends Predicate<T>, Serializable
Serializable
variant of java.util.function.Predicate
which declares checked exception.Modifier and Type | Method and Description |
---|---|
static <T> DistributedPredicate<T> |
alwaysFalse()
Returns a predicate that always evaluates to
false . |
static <T> DistributedPredicate<T> |
alwaysTrue()
Returns a predicate that always evaluates to
true . |
default DistributedPredicate<T> |
and(DistributedPredicate<? super T> other)
Serializable variant of
java.util.function.Predicate#and(Predicate) . |
static <T> DistributedPredicate<T> |
isEqual(Object other)
Serializable variant of
java.util.function.Predicate#isEqual(Object) . |
default DistributedPredicate<T> |
negate()
Serializable variant of
Predicate.negate() . |
default DistributedPredicate<T> |
or(DistributedPredicate<? super T> other)
Serializable variant of
java.util.function.Predicate#or(Predicate) . |
default boolean |
test(T t) |
boolean |
testEx(T t)
Exception-declaring version of
Predicate.test(T) . |
boolean testEx(T t) throws Exception
Predicate.test(T)
.Exception
@Nonnull static <T> DistributedPredicate<T> alwaysTrue()
true
.@Nonnull static <T> DistributedPredicate<T> alwaysFalse()
false
.@Nonnull static <T> DistributedPredicate<T> isEqual(Object other)
Serializable
variant of
java.util.function.Predicate#isEqual(Object)
.@Nonnull default DistributedPredicate<T> and(DistributedPredicate<? super T> other)
Serializable
variant of
java.util.function.Predicate#and(Predicate)
.@Nonnull default DistributedPredicate<T> negate()
Serializable
variant of
Predicate.negate()
.@Nonnull default DistributedPredicate<T> or(DistributedPredicate<? super T> other)
Serializable
variant of
java.util.function.Predicate#or(Predicate)
.Copyright © 2018 Hazelcast, Inc.. All rights reserved.