public enum Predicates extends Enum<Predicates>
| 限定符和类型 | 方法和说明 |
|---|---|
char |
code() |
String |
desc() |
boolean |
equals(boolean state) |
boolean |
equals(Boolean state) |
boolean |
equals(char code) |
boolean |
equals(Character code) |
boolean |
equals(int value) |
boolean |
equals(Integer value) |
boolean |
equals(Predicates other) |
boolean |
equals(String code) |
static boolean |
no(boolean state) |
static boolean |
no(Boolean state) |
static boolean |
no(char code) |
static boolean |
no(Character code) |
static boolean |
no(int value) |
static boolean |
no(Integer value) |
static boolean |
no(Predicates other) |
static boolean |
no(String code) |
static Predicates |
of(boolean state) |
static Predicates |
of(Boolean state) |
static Predicates |
of(char code) |
static Predicates |
of(Character code) |
static Predicates |
of(int value) |
static Predicates |
of(Integer value) |
static Predicates |
of(String code) |
boolean |
state() |
int |
value() |
static Predicates |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Predicates[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
static boolean |
yes(boolean state) |
static boolean |
yes(Boolean state) |
static boolean |
yes(char code) |
static boolean |
yes(Character code) |
static boolean |
yes(int value) |
static boolean |
yes(Integer value) |
static boolean |
yes(Predicates other) |
static boolean |
yes(String code) |
public static final Predicates Y
public static final Predicates N
public static Predicates[] values()
for (Predicates c : Predicates.values()) System.out.println(c);
public static Predicates valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public int value()
public char code()
public boolean state()
public String desc()
public boolean equals(Integer value)
public boolean equals(int value)
public boolean equals(String code)
public boolean equals(Character code)
public boolean equals(char code)
public boolean equals(Boolean state)
public boolean equals(boolean state)
public boolean equals(Predicates other)
public static boolean yes(Integer value)
public static boolean yes(int value)
public static boolean yes(String code)
public static boolean yes(Character code)
public static boolean yes(char code)
public static boolean yes(Boolean state)
public static boolean yes(boolean state)
public static boolean yes(Predicates other)
public static boolean no(Integer value)
public static boolean no(int value)
public static boolean no(String code)
public static boolean no(Character code)
public static boolean no(char code)
public static boolean no(Boolean state)
public static boolean no(boolean state)
public static boolean no(Predicates other)
public static Predicates of(Integer value)
public static Predicates of(int value)
public static Predicates of(String code)
public static Predicates of(Character code)
public static Predicates of(char code)
public static Predicates of(Boolean state)
public static Predicates of(boolean state)
Copyright © 2023. All rights reserved.