59606162636465666768697071
ArrayList<AdminBean> typedBeans = new ArrayList<AdminBean>(); for( Iterator i = beans.iterator(); i.hasNext(); ) { AdminBean ab = (AdminBean)i.next(); if( ab.getType() == m_type ) { typedBeans.add( ab ); } }