Package | Description |
---|---|
org.hamcrest.comparator |
Modifier and Type | Method and Description |
---|---|
static <T> ComparatorMatcherBuilder<T> |
ComparatorMatcherBuilder.comparedBy(Comparator<T> comparator)
Creates a matcher factory for matchers of
Comparators s of T . |
static <T extends Comparable<T>> |
ComparatorMatcherBuilder.usingNaturalOrdering()
Creates a matcher factory for matchers of
Comparable s. |
Copyright © 2020. All rights reserved.