for (Enumeration e = this.getMisc(); e.hasMoreElements(); ) { Mounted m = (Mounted)e.nextElement();
for(Mounted m:getMisc()) {
    public void newRound(int roundNumber)    {        // Perform all base-class behavior.        super.newRound(roundNumber);        // If we're equipped with a Magnetic Mine        // launcher, turn it to single shot mode.        for (Enumeration e = this.getMisc(); e.hasMoreElements(); ) {            Mounted m = (Mounted)e.nextElement();            EquipmentType equip = m.getType();            if ( BattleArmor.MINE_LAUNCHER.equals(equip.getInternalName()) ) {                m.setMode("Single");            }        }    }