public class Check extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ArgumentOutOfRangeMessage |
static String |
CollectionWasModifiedMessage |
static String |
FileDoesntExistMessage |
static String |
ImageCantBeSetForShapeMessage |
static String |
MustBeGreaterMessage |
static String |
MustBeGreaterOrEqualMessage |
static String |
OneArgumentIsLessThanOtherMessage |
static String |
StreamWasNotWritableMessage |
static String |
StringIsNullOrEmptyMessage |
static String |
TextCantBeSetForShapeMessage |
| Constructor and Description |
|---|
Check() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkIfFileExists(String paramName,
String value) |
static void |
greater(String paramName,
double value,
double valueToCompareWith) |
static void |
greaterOrEqual(String paramName,
double value,
double valueToCompareWith) |
static void |
greaterOrEqual(String oneName,
double oneValue,
String otherName,
double otherValue) |
static String |
notEmpty(String paramName,
String value) |
static <T> T |
notNull(String paramName,
T value) |
static void |
range(String paramName,
double value,
double min,
double max) |
static void |
throwCollectionWasChangedException() |
static void |
throwImageCantBeSetForShapeException() |
static void |
throwTextCantBeSetForShapeException() |
static void |
writableStream(String paramName,
OutputStream value) |
public static final String ArgumentOutOfRangeMessage
public static final String CollectionWasModifiedMessage
public static final String FileDoesntExistMessage
public static final String ImageCantBeSetForShapeMessage
public static final String MustBeGreaterMessage
public static final String MustBeGreaterOrEqualMessage
public static final String OneArgumentIsLessThanOtherMessage
public static final String StreamWasNotWritableMessage
public static final String StringIsNullOrEmptyMessage
public static final String TextCantBeSetForShapeMessage
public static void greater(String paramName, double value, double valueToCompareWith)
public static void greaterOrEqual(String paramName, double value, double valueToCompareWith)
public static void greaterOrEqual(String oneName, double oneValue, String otherName, double otherValue)
public static <T> T notNull(String paramName, T value)
public static void range(String paramName, double value, double min, double max)
public static void throwCollectionWasChangedException()
public static void throwImageCantBeSetForShapeException()
public static void throwTextCantBeSetForShapeException()
public static void writableStream(String paramName, OutputStream value)
Copyright © 2026. All rights reserved.