if (mechs[x].getYear() == nYear &&
if (mechs[x].getWeightClass() == nWeight &&
    private void filterMechs()    {        Vector vMechs = new Vector();        int nYear = Integer.parseInt(m_chYear.getSelectedItem());        int nType = m_chType.getSelectedIndex();        MechSummary[] mechs = MechSummaryCache.getInstance().getAllMechs();        for (int x = 0; x < mechs.length; x++) {            if (mechs[x].getYear() == nYear &&                     mechs[x].getType() == nType) {                vMechs.addElement(mechs[x]);            }        }        m_mechsCurrent = new MechSummary[vMechs.size()];        vMechs.copyInto(m_mechsCurrent);        sortMechs();    }