| Package | Description |
|---|---|
| javax.annotation | |
| org.echocat.unittest.utils.matchers | |
| org.echocat.unittest.utils.utils |
| Modifier and Type | Class and Description |
|---|---|
interface |
CheckForSigned
Used to annotate a value that may be either negative or nonnegative, and
indicates that uses of it should check for
negative values before using it in a way that requires the value to be
nonnegative, and check for it being nonnegative before using it in a way that
requires it to be negative.
|
interface |
Signed
Used to annotate a value of unknown sign
|
| Modifier and Type | Method and Description |
|---|---|
When |
Nonnegative.Checker.forConstantValue(Nonnegative annotation,
Object v) |
| Modifier and Type | Field and Description |
|---|---|
protected static int |
StreamBasedMatcherSupport.MAXIMUM_MISMATCHES_TO_REPORT |
| Modifier and Type | Method and Description |
|---|---|
static <T> org.hamcrest.Matcher<T> |
HasSize.hasLength(long size) |
static <T> org.hamcrest.Matcher<T> |
HasSize.hasLengthOf(long size) |
static <T> org.hamcrest.Matcher<T> |
HasSize.hasSize(long size) |
static <T> org.hamcrest.Matcher<T> |
HasSize.hasSizeOf(long size) |
| Constructor and Description |
|---|
HasSize(long expectedSize) |
| Modifier and Type | Method and Description |
|---|---|
static long |
IOUtils.copy(InputStream is,
OutputStream os) |
static boolean |
SizeUtils.isEmpty(Object what) |
static long |
SizeUtils.sizeOf(Object what) |
Copyright © 2017 echocat. All rights reserved.