Package megamek.common
Class WeaponComparatorNum
java.lang.Object
megamek.common.WeaponComparatorNum
- All Implemented Interfaces:
Comparator<WeaponMounted>
Comparator for sorting Weapons (Mounteds that have WeaponTypes) by weapon
number.
-
Constructor Summary
Constructors -
Method Summary
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
-
Constructor Details
-
WeaponComparatorNum
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<WeaponMounted>
-