| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | Returns: true if given array contains given value according to the implemented comparison strategy, false otherwise.the array to search value in (must not be null) array, Object the object to look for in given array value)Returns true if given array contains given value according to the implemented comparison strategy, false otherwise. |
| public default String | Returns: the comparison strategy description used in error messages.Used in error messages when a custom comparison strategy was used to compare values. |
| public Iterable | duplicatesFrom(Iterable<?>
the given iterable)Iterable we want to extract duplicate elements.Returns any duplicate elements from the given |
| public boolean | Returns: true if actual is greater than other, false otherwise.the object to compare to other actual, Object the object to compare to actual other)Returns true if actual is greater than other, false otherwise. |
| public boolean | Returns: true if actual is greater than or equal to other, false otherwise.the object to compare to other actual, Object the object to compare to actual other)Returns true if actual is greater than or equal to other, false otherwise. |
| public boolean | Returns: true if actual is less than other, false otherwise.the object to compare to other actual, Object the object to compare to actual other)Returns true if actual is less than other, false otherwise. |
| public boolean | Returns: true if actual is less than or equal to other, false otherwise.the object to compare to other actual, Object the object to compare to actual other)Returns true if actual is less than or equal to other, false otherwise. |
| public boolean | Returns: true if comparison strategy is default/standard, false otherwiseReturn true if comparison strategy is default/standard, false otherwise |
| public boolean | Returns: true if givenIterable contains given value according to the implemented comparison strategy, false
otherwise.the collection, Object Iterable to search value inthe object to look for in given value)IterableReturns true if given |
| public void | |
| public void | iterablesRemoveFirst(Iterable<?>
the iterable, Object Iterable we want remove value fromobject to remove from given value)IterableRemoves the first value in |
| public boolean | Returns: true if given string contains given sequence according to the implemented comparison strategy, false otherwise.the string to search sequence in (must not be null) string, String the String to look for in given string sequence)Returns true if given string contains given sequence according to the implemented comparison strategy, false otherwise. |
| public boolean | Returns: true if string ends with suffix according to the implemented comparison strategy, false otherwise.the String we want to look starting suffix string, String the suffix String to look for at string's end suffix)Returns true if string ends with suffix according to the implemented comparison strategy, false otherwise. |
| public boolean | Returns: true if string starts with prefix according to the implemented comparison strategy, false otherwise.the String we want to look starting prefix string, String the prefix String to look for at string's start prefix)Returns true if string starts with prefix according to the implemented comparison strategy, false otherwise. |
| areEqual | back to summary |
|---|---|
| public boolean areEqual(Object actual, Object other) Returns true if actual and other are equal according to the implemented comparison strategy. | |
| arrayContains | back to summary |
|---|---|
| public boolean arrayContains(Object array, Object value) Returns true if given array contains given value according to the implemented comparison strategy, false otherwise. | |
| asText | back to summary |
|---|---|
| public default String asText() Used in error messages when a custom comparison strategy was used to compare values.
For example
| |
| duplicatesFrom | back to summary |
|---|---|
| public Iterable Returns any duplicate elements from the given | |
| isGreaterThan | back to summary |
|---|---|
| public boolean isGreaterThan(Object actual, Object other) Returns true if actual is greater than other, false otherwise.
| |
| isGreaterThanOrEqualTo | back to summary |
|---|---|
| public boolean isGreaterThanOrEqualTo(Object actual, Object other) Returns true if actual is greater than or equal to other, false otherwise.
| |
| isLessThan | back to summary |
|---|---|
| public boolean isLessThan(Object actual, Object other) Returns true if actual is less than other, false otherwise.
| |
| isLessThanOrEqualTo | back to summary |
|---|---|
| public boolean isLessThanOrEqualTo(Object actual, Object other) Returns true if actual is less than or equal to other, false otherwise.
| |
| isStandard | back to summary |
|---|---|
| public boolean isStandard() Return true if comparison strategy is default/standard, false otherwise
| |
| iterableContains | back to summary |
|---|---|
| public boolean iterableContains(Iterable<?> collection, Object value) Returns true if given | |
| iterableRemoves | back to summary |
|---|---|
| public void iterableRemoves(Iterable<?> iterable, Object value) Look for given value in given | |
| iterablesRemoveFirst | back to summary |
|---|---|
| public void iterablesRemoveFirst(Iterable<?> iterable, Object value) Removes the first value in | |
| stringContains | back to summary |
|---|---|
| public boolean stringContains(String string, String sequence) Returns true if given string contains given sequence according to the implemented comparison strategy, false otherwise. | |
| stringEndsWith | back to summary |
|---|---|
| public boolean stringEndsWith(String string, String suffix) Returns true if string ends with suffix according to the implemented comparison strategy, false otherwise. | |
| stringStartsWith | back to summary |
|---|---|
| public boolean stringStartsWith(String string, String prefix) Returns true if string starts with prefix according to the implemented comparison strategy, false otherwise. | |