你是否正在寻找关于predicate的内容?让我把最趣味的东西奉献给你:
Represents a predicate (boolean-valued function) of one argument.
This is a functional interface whose functional method is .
Since: 1.8
Modifier and Type Method and Description
default Predicate<T> (predicate<? super T>other)
Returns a composed predicate that represents a short-circuiting logical AND of this predicate and another.
static <T>predicate<T> (ObjecttargetRef)
Returns a predicate that tests if two arguments are equal according to .
default predicate<T> ()
Returns a predicate that represents the logical negation of this predicate.
default Predicate<T> (predicate<? super T>other)
Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another.
boolean (Tt)
Evaluates this predicate on the given argument.
Evaluates this predicate on the given argument.
Parameters: t - the input argument Returns: true if the input argument matches the predicate, otherwise falseReturns a composed predicate that represents a short-circuiting logical AND of this predicate and another. When evaluating the composed predicate, if this predicate is false, then the other predicate is not evaluated.
Any exceptions thrown during evaluation of either predicate are relayed to the caller; if evaluation of this predicate throws an exception, the other predicate will not be evaluated.
Parameters: other - a predicate that will be logically-ANDed with this predicate Returns: a composed predicate that represents the short-circuiting logical AND of this predicate and the other predicate Throws: NullPointerException - if other is nullReturns a predicate that represents the logical negation of this predicate.
Returns: a predicate that represents the logical negation of this predicateReturns a composed predicate that represents a short-circuiting logical OR of this predicate and another. When evaluating the composed predicate, if this predicate is true, then the other predicate is not evaluated.
Any exceptions thrown during evaluation of either predicate are relayed to the caller; if evaluation of this predicate throws an exception, the other predicate will not be evaluated.
Parameters: other - a predicate that will be logically-ORed with this predicate Returns: a composed predicate that represents the short-circuiting logical OR of this predicate and the other predicate Throws: NullPointerException - if other is nullReturns a predicate that tests if two arguments are equal according to .
Type Parameters: T - the type of arguments to the predicate Parameters: targetRef - the object reference with which to compare for equality, which may be null Returns: a predicate that tests if two arguments are equal according to以上就是关于predicate的全部内容,相信你一定会非常满意,。
本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/shenmilingyu/article-18917-1.html
中国传统道德的悲哀
11111111111