public class CollectionKt
| Modifier and Type | Method and Description |
|---|---|
static void |
containsAll(Assert<? extends java.util.Collection<?>> $receiver,
java.lang.Object elements)
Asserts the collection contains all the expected elements, in any order. The collection may also
contain additional elements.
|
static void |
containsNone(Assert<? extends java.util.Collection<?>> $receiver,
java.lang.Object elements)
Asserts the collection does not contain any of the expected elements.
|
static void |
containsOnly(Assert<? extends java.util.Collection<?>> $receiver,
java.lang.Object elements)
Asserts the collection contains only the expected elements
|
static void |
hasSameSizeAs(Assert<? extends java.util.Collection<?>> $receiver,
java.util.Collection<?> other)
Asserts the collection has the same size as the expected collection.
|
static void |
hasSize(Assert<? extends java.util.Collection<?>> $receiver,
int size)
Asserts the collection has the expected size.
|
static void |
isEmpty(Assert<? extends java.util.Collection<?>> $receiver)
Asserts the collection is empty.
|
static void |
isNotEmpty(Assert<? extends java.util.Collection<?>> $receiver)
Asserts the collection is not empty.
|
static void |
isNullOrEmpty(Assert<? extends java.util.Collection<?>> $receiver)
Asserts the collection is null or empty.
|
static Assert<java.lang.Integer> |
size(Assert<? extends java.util.Collection<?>> $receiver)
Returns an assert on the Collection's size.
|
public static Assert<java.lang.Integer> size(Assert<? extends java.util.Collection<?>> $receiver)
Returns an assert on the Collection's size.
public static void isEmpty(Assert<? extends java.util.Collection<?>> $receiver)
Asserts the collection is empty.
public static void isNotEmpty(Assert<? extends java.util.Collection<?>> $receiver)
Asserts the collection is not empty.
PrimativeArrayKt.byteArrayIsEmptypublic static void isNullOrEmpty(Assert<? extends java.util.Collection<?>> $receiver)
Asserts the collection is null or empty.
PrimativeArrayKt.byteArrayIsEmptypublic static void hasSize(Assert<? extends java.util.Collection<?>> $receiver, int size)
Asserts the collection has the expected size.
public static void hasSameSizeAs(Assert<? extends java.util.Collection<?>> $receiver, java.util.Collection<?> other)
Asserts the collection has the same size as the expected collection.
public static void containsNone(Assert<? extends java.util.Collection<?>> $receiver, java.lang.Object elements)
Asserts the collection does not contain any of the expected elements.
PrimativeArrayKt.byteArrayContainsAllpublic static void containsAll(Assert<? extends java.util.Collection<?>> $receiver, java.lang.Object elements)
Asserts the collection contains all the expected elements, in any order. The collection may also contain additional elements.
public static void containsOnly(Assert<? extends java.util.Collection<?>> $receiver, java.lang.Object elements)
Asserts the collection contains only the expected elements