|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmegamek.common.WeaponComparator
public class WeaponComparator
Comparator for sorting Weapons (Mounteds that have WeaponTypes) by BV, needed for BV calculation Only pass Mounteds into this that are weapons
| Constructor Summary | |
|---|---|
WeaponComparator()
|
|
| Method Summary | |
|---|---|
int |
compare(Mounted obj1,
Mounted obj2)
|
| 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 |
| Constructor Detail |
|---|
public WeaponComparator()
| Method Detail |
|---|
public int compare(Mounted obj1,
Mounted obj2)
compare in interface java.util.Comparator<Mounted>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||