@@ -16,6 +16,7 @@ private OrderingComparison() {
1616 * <pre>assertThat(1, comparesEqualTo(1))</pre>
1717 *
1818 * @param value the value which, when passed to the compareTo method of the examined object, should return zero
19+ * @return The matcher.
1920 */
2021 public static <T extends Comparable <T >> Matcher <T > comparesEqualTo (T value ) {
2122 return ComparatorMatcherBuilder .<T >usingNaturalOrdering ().comparesEqualTo (value );
@@ -30,6 +31,7 @@ public static <T extends Comparable<T>> Matcher<T> comparesEqualTo(T value) {
3031 *
3132 * @param value the value which, when passed to the compareTo method of the examined object, should return greater
3233 * than zero
34+ * @return The matcher.
3335 */
3436 public static <T extends Comparable <T >> Matcher <T > greaterThan (T value ) {
3537 return ComparatorMatcherBuilder .<T >usingNaturalOrdering ().greaterThan (value );
@@ -44,6 +46,7 @@ public static <T extends Comparable<T>> Matcher<T> greaterThan(T value) {
4446 *
4547 * @param value the value which, when passed to the compareTo method of the examined object, should return greater
4648 * than or equal to zero
49+ * @return The matcher.
4750 */
4851 public static <T extends Comparable <T >> Matcher <T > greaterThanOrEqualTo (T value ) {
4952 return ComparatorMatcherBuilder .<T >usingNaturalOrdering ().greaterThanOrEqualTo (value );
@@ -58,6 +61,7 @@ public static <T extends Comparable<T>> Matcher<T> greaterThanOrEqualTo(T value)
5861 *
5962 * @param value the value which, when passed to the compareTo method of the examined object, should return less
6063 * than zero
64+ * @return The matcher.
6165 */
6266 public static <T extends Comparable <T >> Matcher <T > lessThan (T value ) {
6367 return ComparatorMatcherBuilder .<T >usingNaturalOrdering ().lessThan (value );
@@ -72,6 +76,7 @@ public static <T extends Comparable<T>> Matcher<T> lessThan(T value) {
7276 *
7377 * @param value the value which, when passed to the compareTo method of the examined object, should return less
7478 * than or equal to zero
79+ * @return The matcher.
7580 */
7681 public static <T extends Comparable <T >> Matcher <T > lessThanOrEqualTo (T value ) {
7782 return ComparatorMatcherBuilder .<T >usingNaturalOrdering ().lessThanOrEqualTo (value );
0 commit comments