| Modifier and Type | Field and Description |
|---|---|
| private long[] | |
| protected LongArrays |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AtomicLongArrayAssert | Returns: this assertion object.the given values. values)Verifies that the actual |
| public AtomicLongArrayAssert | |
| public AtomicLongArrayAssert | Returns: this assertion object.the values whose at least one which is expected to be in the array under test. values)Verifies that the actual array contains at least one of the given values. |
| public AtomicLongArrayAssert | Returns: this assertion object.the given values. values)Verifies that the actual AtomicLongArray contains only the given values and nothing else, in order. |
| public AtomicLongArrayAssert | Returns: this assertion object.the given values. values)Verifies that the actual AtomicLongArray contains exactly the given values and nothing else, in any order. |
| public AtomicLongArrayAssert | Returns: this assertion object.the given values. values)Verifies that the actual atomic array contains only the given values and nothing else, in any order. |
| public AtomicLongArrayAssert | Returns: this assertion object.the given values. values)Verifies that the actual atomic array contains the given values only once. |
| public AtomicLongArrayAssert | Returns: myself assertion object.the sequence of values to look for. sequence)Verifies that the actual atomic array contains the given sequence, without any other values between them. |
| public AtomicLongArrayAssert | Returns: myself assertion object.the subsequence of values to look for. subsequence)Verifies that the actual atomic array contains the given subsequence (possibly with other values between them). |
| public AtomicLongArrayAssert | Returns: this assertion object.the given values. values)Verifies that the actual atomic array does not contain the given values. |
| public AtomicLongArrayAssert | Returns: myself assertion object.the value to look for. value, Index the index where the value should be stored in the actual atomic array. index)Verifies that the actual atomic array does not contain the given value at the given index. |
| public AtomicLongArrayAssert | Returns: this assertion object.Verifies that the actual atomic array does not contain duplicates. |
| public AtomicLongArrayAssert | Returns: myself assertion object.the sequence of values to look for. sequence)Verifies that the actual atomic array ends with the given sequence of values, without any other values between them. |
| public AtomicLongArrayAssert | Returns: this assertion object.the long[] array expected to be in the actual AtomicLongArray. expected)Verifies that the AtomicLongArray has the given array. |
| public AtomicLongArrayAssert | Returns: this assertion object.the other)Iterable to compare size with actual AtomicLongArray.Implements org. Iterable.
|
| public AtomicLongArrayAssert | Returns: this assertion object.the expected number of values in the actual AtomicLongArray. expected)Implements org. |
| public AtomicLongArrayAssert | Returns: this assertion object.the lower boundary compared to which actual size should be greater than or equal to. lowerBoundary, int the higher boundary compared to which actual size should be less than or equal to. higherBoundary)Implements org. |
| public AtomicLongArrayAssert | Returns: this assertion object.the given value to compare the actual size to. boundary)Implements org. |
| public AtomicLongArrayAssert | Returns: this assertion object.the given value to compare the actual size to. boundary)Implements org. |
| public AtomicLongArrayAssert | Returns: this assertion object.the given value to compare the actual size to. boundary)Implements org. |
| public AtomicLongArrayAssert | Returns: this assertion object.the given value to compare the actual size to. boundary)Implements org. |
| public void | isEmpty()
Implements org. |
| public AtomicLongArrayAssert | Returns: this assertion object.Implements org. |
| public void | isNullOrEmpty()
Implements org. null or empty.
|
| public AtomicLongArrayAssert | Returns: this assertion object.Verifies that the actual AtomicLongArray is sorted in ascending order according to the natural ordering of its elements. |
| public AtomicLongArrayAssert | Returns: this assertion object.the comparator)Comparator used to compare array elementsVerifies that the actual AtomicLongArray is sorted according to the given comparator. |
| public AtomicLongArrayAssert | Returns: myself assertion object.the sequence of values to look for. sequence)Verifies that the actual atomic array starts with the given sequence of values, without any other values between them. |
| public AtomicLongArrayAssert | usingDefaultElementComparator()
Implements org. |
| public AtomicLongArrayAssert | Returns: this assertion object.the comparator to use for incoming assertion checks. customComparator)Implements org. equals method to compare elements for incoming assertion checks.
|
| array | back to summary |
|---|---|
| private long[] array | |
| arrays | back to summary |
|---|---|
| protected LongArrays arrays
| |
| AtomicLongArrayAssert | back to summary |
|---|---|
| public AtomicLongArrayAssert(AtomicLongArray actual) | |
| contains | back to summary |
|---|---|
| public AtomicLongArrayAssert contains(long... values) Verifies that the actual Example:
| |
| contains | back to summary |
|---|---|
| public AtomicLongArrayAssert contains(long value, Index index) Verifies that the actual atomic array contains the given value at the given index. Example:
| |
| containsAnyOf | back to summary |
|---|---|
| public AtomicLongArrayAssert containsAnyOf(long... values) Verifies that the actual array contains at least one of the given values. Example :
| |
| containsExactly | back to summary |
|---|---|
| public AtomicLongArrayAssert containsExactly(long... values) Verifies that the actual AtomicLongArray contains only the given values and nothing else, in order. Example :
| |
| containsExactlyInAnyOrder | back to summary |
|---|---|
| public AtomicLongArrayAssert containsExactlyInAnyOrder(long... values) Verifies that the actual AtomicLongArray contains exactly the given values and nothing else, in any order. Example :
| |
| containsOnly | back to summary |
|---|---|
| public AtomicLongArrayAssert containsOnly(long... values) Verifies that the actual atomic array contains only the given values and nothing else, in any order. Example:
| |
| containsOnlyOnce | back to summary |
|---|---|
| public AtomicLongArrayAssert containsOnlyOnce(long... values) Verifies that the actual atomic array contains the given values only once. Examples :
| |
| containsSequence | back to summary |
|---|---|
| public AtomicLongArrayAssert containsSequence(long... sequence) Verifies that the actual atomic array contains the given sequence, without any other values between them. Example:
| |
| containsSubsequence | back to summary |
|---|---|
| public AtomicLongArrayAssert containsSubsequence(long... subsequence) Verifies that the actual atomic array contains the given subsequence (possibly with other values between them). Example:
| |
| doesNotContain | back to summary |
|---|---|
| public AtomicLongArrayAssert doesNotContain(long... values) Verifies that the actual atomic array does not contain the given values. Example:
| |
| doesNotContain | back to summary |
|---|---|
| public AtomicLongArrayAssert doesNotContain(long value, Index index) Verifies that the actual atomic array does not contain the given value at the given index. Example:
| |
| doesNotHaveDuplicates | back to summary |
|---|---|
| public AtomicLongArrayAssert doesNotHaveDuplicates() Verifies that the actual atomic array does not contain duplicates. Example:
| |
| endsWith | back to summary |
|---|---|
| public AtomicLongArrayAssert endsWith(long... sequence) Verifies that the actual atomic array ends with the given sequence of values, without any other values between them.
Similar to Example:
| |
| hasArray | back to summary |
|---|---|
| public AtomicLongArrayAssert hasArray(long[] expected) Verifies that the AtomicLongArray has the given array. Example:
| |
| hasSameSizeAs | back to summary |
|---|---|
| public AtomicLongArrayAssert hasSameSizeAs(Iterable<?> other) Implements org. Verifies that the AtomicLongArray has the same size as given Example:
| |
| hasSize | back to summary |
|---|---|
| public AtomicLongArrayAssert hasSize(int expected) Implements org. Verifies that the number of values in the AtomicLongArray is equal to the given one. Example:
| |
| hasSizeBetween | back to summary |
|---|---|
| public AtomicLongArrayAssert hasSizeBetween(int lowerBoundary, int higherBoundary) Implements org. Verifies that the number of values in the actual array is between the given boundaries (inclusive). Example:
| |
| hasSizeGreaterThan | back to summary |
|---|---|
| public AtomicLongArrayAssert hasSizeGreaterThan(int boundary) Implements org. Verifies that the number of values in the actual array is greater than the given boundary. Example:
| |
| hasSizeGreaterThanOrEqualTo | back to summary |
|---|---|
| public AtomicLongArrayAssert hasSizeGreaterThanOrEqualTo(int boundary) Implements org. Verifies that the number of values in the actual array is greater than or equal to the given boundary. Example:
| |
| hasSizeLessThan | back to summary |
|---|---|
| public AtomicLongArrayAssert hasSizeLessThan(int boundary) Implements org. Verifies that the number of values in the actual array is less than the given boundary. Example:
| |
| hasSizeLessThanOrEqualTo | back to summary |
|---|---|
| public AtomicLongArrayAssert hasSizeLessThanOrEqualTo(int boundary) Implements org. Verifies that the number of values in the actual array is less than or equal to the given boundary. Example:
| |
| isEmpty | back to summary |
|---|---|
| public void isEmpty() Implements org. Verifies that the AtomicLongArray is empty. Example:
| |
| isNotEmpty | back to summary |
|---|---|
| public AtomicLongArrayAssert isNotEmpty() Implements org. Verifies that the AtomicLongArray is not empty. Example:
| |
| isNullOrEmpty | back to summary |
|---|---|
| public void isNullOrEmpty() Implements org. Verifies that the AtomicLongArray is Example:
| |
| isSorted | back to summary |
|---|---|
| public AtomicLongArrayAssert isSorted() Verifies that the actual AtomicLongArray is sorted in ascending order according to the natural ordering of its elements.
Empty or one element arrays are considered sorted (unless the array element type is not Comparable).
| |
| isSortedAccordingTo | back to summary |
|---|---|
| public AtomicLongArrayAssert isSortedAccordingTo(Comparator<? super Long> comparator) Verifies that the actual AtomicLongArray is sorted according to the given comparator.
| |
| startsWith | back to summary |
|---|---|
| public AtomicLongArrayAssert startsWith(long... sequence) Verifies that the actual atomic array starts with the given sequence of values, without any other values between them.
Similar to Example:
| |
| usingDefaultElementComparator | back to summary |
|---|---|
| public AtomicLongArrayAssert usingDefaultElementComparator() Implements org. Doc from org. Revert to standard comparison for incoming assertion group element checks.
This method should be used to disable a custom comparison strategy set by calling
| |
| usingElementComparator | back to summary |
|---|---|
| public AtomicLongArrayAssert usingElementComparator(Comparator<? super Long> customComparator) Implements org. Use given custom comparator instead of relying on Long Custom comparator is bound to the current assertion instance, meaning that if a new assertion is created, it will use default comparison strategy. Examples :
| |