Vector mLeagueList = new Vector();
League league = new League();//类名
然后操作
String[] data=new String[mLeagueList.size()];
for (int i = 0; i < mLeagueList.size(); i++) {
League league =(League) mLeagueList.elementAt(i);
String name=league.getLeagueName();
System.out.println(code);
data[i] = name;
}