Package org.togglz.core.util
Class Weighted.WeightedComparator
- java.lang.Object
-
- org.togglz.core.util.Weighted.WeightedComparator
-
- All Implemented Interfaces:
Comparator<Weighted>
- Enclosing interface:
- Weighted
public static class Weighted.WeightedComparator extends Object implements Comparator<Weighted>
-
-
Constructor Summary
Constructors Constructor Description WeightedComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Weighted left, Weighted right)
-
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
-
-
-
-
Method Detail
-
compare
public int compare(Weighted left, Weighted right)
- Specified by:
compare
in interfaceComparator<Weighted>
-
-