public class Preconditions extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
checkArgument(boolean test) |
static void |
checkArgument(boolean test,
String description) |
static void |
checkState(boolean test) |
static void |
checkState(boolean test,
String description) |
public static void checkArgument(boolean test)
throws io.grpc.StatusException
io.grpc.StatusExceptionpublic static void checkArgument(boolean test,
String description)
throws io.grpc.StatusException
io.grpc.StatusExceptionpublic static void checkState(boolean test)
throws io.grpc.StatusException
io.grpc.StatusExceptionpublic static void checkState(boolean test,
String description)
throws io.grpc.StatusException
io.grpc.StatusExceptionCopyright © 2020 Google LLC. All rights reserved.