Package com.powsybl.security.comparator
Class LimitViolationComparator
- java.lang.Object
-
- com.powsybl.security.comparator.LimitViolationComparator
-
- All Implemented Interfaces:
Comparator<LimitViolation>
public class LimitViolationComparator extends Object implements Comparator<LimitViolation>
- Author:
- Massimo Ferraro
-
-
Constructor Summary
Constructors Constructor Description LimitViolationComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(LimitViolation violation1, LimitViolation violation2)
-
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(LimitViolation violation1, LimitViolation violation2)
- Specified by:
compare
in interfaceComparator<LimitViolation>
-
-