Class UncheckedApiPreconditions

public class UncheckedApiPreconditions

Inheritance

java.lang.Object > UncheckedApiPreconditions

Static Methods

checkArgument(boolean test)

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

checkArgument(boolean test, String description)

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

checkState(boolean test)

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

checkState(boolean test, String description)

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