public final class Functions
extends java.lang.Object
Constructor | Description |
---|---|
Functions() |
Modifier and Type | Method | Description |
---|---|---|
static <T> java.util.function.Predicate<T> |
and(java.util.function.Predicate<T>... predicates) |
Negate a predicate.
|
static <T> java.util.function.Predicate<T> |
not(java.util.function.Predicate<T> predicate) |
Negate a predicate.
|
static <T> java.util.function.Predicate<T> |
or(java.util.function.Predicate<T>... predicates) |
Negate a predicate.
|
public static final <T> java.util.function.Predicate<T> not(java.util.function.Predicate<T> predicate)
@SafeVarargs public static final <T> java.util.function.Predicate<T> and(java.util.function.Predicate<T>... predicates)
@SafeVarargs public static final <T> java.util.function.Predicate<T> or(java.util.function.Predicate<T>... predicates)
Copyright © 2018. All rights reserved.