Package org.opt4j.operator
Class AbstractGenericOperator.ClassComparator
- java.lang.Object
-
- org.opt4j.operator.AbstractGenericOperator.ClassComparator
-
- All Implemented Interfaces:
Comparator<Class<? extends Genotype>>
- Enclosing class:
- AbstractGenericOperator<O extends Operator<?>,Q extends Operator<?>>
protected static class AbstractGenericOperator.ClassComparator extends Object implements Comparator<Class<? extends Genotype>>
Comparator for a specific order: Superclasses always are sorted after subclasses.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ClassComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Class<? extends Genotype> arg0, Class<? extends Genotype> arg1)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-