类 cn.jpush.api.utils.Nullable
的使用

使用 Nullable 的软件包
cn.jpush.api.utils   
 

cn.jpush.api.utilsNullable 的使用
 

注释类型为 Nullablecn.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
<T> T
Preconditions.checkNotNull(T reference, Object errorMessage)
          Ensures that an object reference passed as a parameter to the calling method is not null.
static
<T> T
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
<T> T
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.
 



Copyright © 2014. All Rights Reserved.