Package org.opennms.upgrade.api
Class OnmsUpgradeComparator
- java.lang.Object
-
- org.opennms.upgrade.api.OnmsUpgradeComparator
-
- All Implemented Interfaces:
java.util.Comparator<OnmsUpgrade>
public class OnmsUpgradeComparator extends java.lang.Object implements java.util.Comparator<OnmsUpgrade>
The Class OnmsUpgradeComparator.By default, the implementations are going to be ordered according with the order integer.
- Author:
- Alejandro Galue
-
-
Constructor Summary
Constructors Constructor Description OnmsUpgradeComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(OnmsUpgrade a, OnmsUpgrade b)
-
-
-
Method Detail
-
compare
public int compare(OnmsUpgrade a, OnmsUpgrade b)
- Specified by:
compare
in interfacejava.util.Comparator<OnmsUpgrade>
-
-