public static class IntegerPolynomialMutationWorkingTest.VariableComparator extends Object implements Comparator<IntegerSolution>
| Constructor and Description |
|---|
VariableComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(IntegerSolution solution1,
IntegerSolution solution2)
Compares two solutions according to the first variable value
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(IntegerSolution solution1, IntegerSolution solution2)
compare in interface Comparator<IntegerSolution>solution1 - Object representing the first Solution.solution2 - Object representing the second Solution.Copyright © 2016. All rights reserved.