|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 Nullable 的软件包 | |
|---|---|
| cn.jpush.api.utils | |
| cn.jpush.api.utils 中 Nullable 的使用 |
|---|
| 注释类型为 Nullable 的 cn.jpush.api.utils 中的方法参数 | ||
|---|---|---|
static void |
Preconditions.checkArgument(boolean expression,
Object errorMessage)
Ensures the truth of an expression involving one or more parameters to the calling method. |
|
static void |
Preconditions.checkArgument(boolean expression,
String errorMessageTemplate,
Object... errorMessageArgs)
Ensures the truth of an expression involving one or more parameters to the calling method. |
|
static void |
Preconditions.checkArgument(boolean expression,
String errorMessageTemplate,
Object... errorMessageArgs)
Ensures the truth of an expression involving one or more parameters to the calling method. |
|
static int |
Preconditions.checkElementIndex(int index,
int size,
String desc)
Ensures that index specifies a valid element in an array, list or string of size
size. |
|
static
|
Preconditions.checkNotNull(T reference,
Object errorMessage)
Ensures that an object reference passed as a parameter to the calling method is not null. |
|
static
|
Preconditions.checkNotNull(T reference,
String errorMessageTemplate,
Object... errorMessageArgs)
Ensures that an object reference passed as a parameter to the calling method is not null. |
|
static
|
Preconditions.checkNotNull(T reference,
String errorMessageTemplate,
Object... errorMessageArgs)
Ensures that an object reference passed as a parameter to the calling method is not null. |
|
static int |
Preconditions.checkPositionIndex(int index,
int size,
String desc)
Ensures that index specifies a valid position in an array, list or string of
size size. |
|
static void |
Preconditions.checkState(boolean expression,
Object errorMessage)
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method. |
|
static void |
Preconditions.checkState(boolean expression,
String errorMessageTemplate,
Object... errorMessageArgs)
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method. |
|
static void |
Preconditions.checkState(boolean expression,
String errorMessageTemplate,
Object... errorMessageArgs)
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method. |
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||