public final class Preconditions extends Object
Modifier and Type | Method and Description |
---|---|
static void |
checkArgument(boolean condition,
String errorMessage) |
static void |
checkInteger(Integer arg,
int minValue,
String name) |
static void |
checkIntList(List<Integer> arg,
int minSize,
int minValue,
String name) |
static void |
checkList(List<?> arg,
int minSize,
String name) |
static void |
checkList(List<?> arg,
String name) |
static void |
checkLong(Long arg,
long minValue,
String name) |
static <T> T |
checkNotNull(T reference,
String argName) |
static <T> T |
checkNotNull(T reference,
String argName,
String errorMessage) |
static void |
checkString(String arg,
String name) |
Copyright © 2024 Alibaba Cloud Computing. All rights reserved.