Class CheckedApiPreconditions (1.5.5)

public class CheckedApiPreconditions

Inheritance

java.lang.Object > CheckedApiPreconditions

Static Methods

checkArgument(boolean test)

public static void checkArgument(boolean test)
Parameter
NameDescription
testboolean
Exceptions
TypeDescription
CheckedApiException

checkArgument(boolean test, String description)

public static void checkArgument(boolean test, String description)
Parameters
NameDescription
testboolean
descriptionString
Exceptions
TypeDescription
CheckedApiException

checkArgument(boolean test, String descriptionFormat, Object[] args)

public static void checkArgument(boolean test, String descriptionFormat, Object[] args)
Parameters
NameDescription
testboolean
descriptionFormatString
argsObject[]
Exceptions
TypeDescription
CheckedApiException

checkState(boolean test)

public static void checkState(boolean test)
Parameter
NameDescription
testboolean
Exceptions
TypeDescription
CheckedApiException

checkState(boolean test, String description)

public static void checkState(boolean test, String description)
Parameters
NameDescription
testboolean
descriptionString
Exceptions
TypeDescription
CheckedApiException

checkState(boolean test, String descriptionFormat, Object[] args)

public static void checkState(boolean test, String descriptionFormat, Object[] args)
Parameters
NameDescription
testboolean
descriptionFormatString
argsObject[]
Exceptions
TypeDescription
CheckedApiException