public class CheckedApiPreconditions extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
checkArgument(boolean test) |
static void |
checkArgument(boolean test,
String description) |
static void |
checkArgument(boolean test,
String descriptionFormat,
Object... args) |
static void |
checkState(boolean test) |
static void |
checkState(boolean test,
String description) |
static void |
checkState(boolean test,
String descriptionFormat,
Object... args) |
public static void checkArgument(boolean test)
throws CheckedApiException
CheckedApiExceptionpublic static void checkArgument(boolean test,
String description)
throws CheckedApiException
CheckedApiExceptionpublic static void checkArgument(boolean test,
String descriptionFormat,
Object... args)
throws CheckedApiException
CheckedApiExceptionpublic static void checkState(boolean test)
throws CheckedApiException
CheckedApiExceptionpublic static void checkState(boolean test,
String description)
throws CheckedApiException
CheckedApiExceptionpublic static void checkState(boolean test,
String descriptionFormat,
Object... args)
throws CheckedApiException
CheckedApiExceptionCopyright © 2022 Google LLC. All rights reserved.