public static interface TreeComparison.SameType<T>
Modifier and Type | Method and Description |
---|---|
void |
assertEqual()
Asserts that the trees are equal.
|
TreeComparison.SameType<T> |
decorateErrorsWith(Function<? super T,String> toString)
Decorates errors thrown by any assertions with the given functions.
|
boolean |
isEqual()
Returns true if the trees are equal.
|
<R> TreeComparison.SameType<R> |
map(Function<? super T,? extends R> mapper)
Maps this SameType to some other type.
|
boolean isEqual()
void assertEqual()
TreeComparison.SameType<T> decorateErrorsWith(Function<? super T,String> toString)
<R> TreeComparison.SameType<R> map(Function<? super T,? extends R> mapper)