public class UnaryPredicate extends Predicate
| Modifier and Type | Class and Description |
|---|---|
static class |
UnaryPredicate.Operator |
Predicate.PredicateTypeNO_PREDICATE| Constructor and Description |
|---|
UnaryPredicate(UnaryPredicate.Operator operator,
Serializable operand) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getOperand() |
UnaryPredicate.Operator |
getOperator() |
static UnaryPredicate |
isNull(Serializable operand) |
static UnaryPredicate |
notNull(Serializable operand) |
String |
toString()
要求所有子类实现toString方法,以便输出谓词的字符串表示
|
public UnaryPredicate(UnaryPredicate.Operator operator, Serializable operand)
public static UnaryPredicate isNull(Serializable operand)
public static UnaryPredicate notNull(Serializable operand)
public UnaryPredicate.Operator getOperator()
public Object getOperand()
Copyright © 2024 Alibaba Cloud Computing. All rights reserved.