public static interface TestAllPermutations.JavaResultComparer
JavaResult
instances.Modifier and Type | Method and Description |
---|---|
boolean |
equals(JavaResult first,
JavaResult second)
Return whether the two JavaResult instances are equal according
to the equality defined by this comparer.
|
int |
hashCode(JavaResult result)
Returns the hash code for the given JavaResult instance according
to this comparer.
|
default boolean |
shouldGroup(JavaResult result)
Returns whether this result instance should be grouped.
|
default boolean |
shouldRemove(JavaResult result)
Returns whether this result instance should be immediately removed.
|
boolean equals(JavaResult first, JavaResult second)
first
- The first result.second
- The second result.int hashCode(JavaResult result)
result
- The result.default boolean shouldRemove(JavaResult result)
result
- The result.default boolean shouldGroup(JavaResult result)
shouldRemove(JavaResult)
, the candidate program
producing the result is not removed. Therefore, it may be further processed
for other input. The default implementation always returns true.result
- The result.