| Package | Description |
|---|---|
| ch.trick17.betterchecks | |
| ch.trick17.betterchecks.fluent |
Contains all fluent check classes, like
IntCheck,
StringCheck and many more. |
| Modifier and Type | Method and Description |
|---|---|
static PrimitiveArrayCheck |
CompactChecks.check(boolean[] argument)
|
static PrimitiveArrayCheck |
CompactChecks.check(byte[] argument)
|
static PrimitiveArrayCheck |
CompactChecks.check(char[] argument)
|
static PrimitiveArrayCheck |
CompactChecks.check(double[] argument)
|
static PrimitiveArrayCheck |
CompactChecks.check(float[] argument)
|
static PrimitiveArrayCheck |
CompactChecks.check(int[] argument)
|
static PrimitiveArrayCheck |
CompactChecks.check(long[] argument)
|
static PrimitiveArrayCheck |
CompactChecks.check(short[] argument)
|
static PrimitiveArrayCheck |
Check.that(boolean[] argument)
Returns a
PrimitiveArrayCheck which can be use to check various
properties of a primitive array (e.g. |
static PrimitiveArrayCheck |
Check.that(byte[] argument)
Returns a
PrimitiveArrayCheck which can be use to check various
properties of a primitive array (e.g. |
static PrimitiveArrayCheck |
Check.that(char[] argument)
Returns a
PrimitiveArrayCheck which can be use to check various
properties of a primitive array (e.g. |
static PrimitiveArrayCheck |
Check.that(double[] argument)
Returns a
PrimitiveArrayCheck which can be use to check various
properties of a primitive array (e.g. |
static PrimitiveArrayCheck |
Check.that(float[] argument)
Returns a
PrimitiveArrayCheck which can be use to check various
properties of a primitive array (e.g. |
static PrimitiveArrayCheck |
Check.that(int[] argument)
Returns a
PrimitiveArrayCheck which can be use to check various
properties of a primitive array (e.g. |
static PrimitiveArrayCheck |
Check.that(long[] argument)
Returns a
PrimitiveArrayCheck which can be use to check various
properties of a primitive array (e.g. |
static PrimitiveArrayCheck |
Check.that(short[] argument)
Returns a
PrimitiveArrayCheck which can be use to check various
properties of a primitive array (e.g. |
| Modifier and Type | Method and Description |
|---|---|
PrimitiveArrayCheck |
PrimitiveArrayCheck.hasLength(int length)
Checks that the array argument has the given length, throwing an
exception otherwise.
|
PrimitiveArrayCheck |
PrimitiveArrayCheck.hasLengthBetween(int min,
int max)
Checks that the array argument's length is between the two given numbers,
throwing an exception otherwise.
|
PrimitiveArrayCheck |
PrimitiveArrayCheck.isNotEmpty()
Checks that the array argument is not empty (meaning it has a length
greater than zero), throwing an exception otherwise.
|
Copyright © 2012–2017 Michael Faes. All rights reserved.