for (Enumeration i = miscList.elements(); i.hasMoreElements();) { MiscType mtype = (MiscType)((Mounted)i.nextElement()).getType();
for (Mounted mEquip : getMisc()) { MiscType mtype = (MiscType) mEquip.getType();
    public boolean hasMASC() {        for (Enumeration i = miscList.elements(); i.hasMoreElements();) {            MiscType mtype = (MiscType)((Mounted)i.nextElement()).getType();            if (mtype.hasFlag(MiscType.F_MASC)) {                return true;            }        }        return false;    }