Class CheckedApiPreconditions (1.14.4)

public class CheckedApiPreconditions

Inheritance

java.lang.Object > CheckedApiPreconditions

Static Methods

checkArgument(boolean test)

public static void checkArgument(boolean test)
Parameter
Name Description
test boolean
Exceptions
Type Description
CheckedApiException

checkArgument(boolean test, String description)

public static void checkArgument(boolean test, String description)
Parameters
Name Description
test boolean
description String
Exceptions
Type Description
CheckedApiException

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

public static void checkArgument(boolean test, String descriptionFormat, Object[] args)
Parameters
Name Description
test boolean
descriptionFormat String
args Object[]
Exceptions
Type Description
CheckedApiException

checkState(boolean test)

public static void checkState(boolean test)
Parameter
Name Description
test boolean
Exceptions
Type Description
CheckedApiException

checkState(boolean test, String description)

public static void checkState(boolean test, String description)
Parameters
Name Description
test boolean
description String
Exceptions
Type Description
CheckedApiException

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

public static void checkState(boolean test, String descriptionFormat, Object[] args)
Parameters
Name Description
test boolean
descriptionFormat String
args Object[]
Exceptions
Type Description
CheckedApiException