for (int i=0; i < mMessages.length; i++) { Pop3Msg pm = mMessages[i];
for (int i=0; i < mMessages.size(); i++) { Pop3Msg pm = (Pop3Msg) mMessages.get(i);
    public int undeleteMarked() {        int count = 0;        for (int i=0; i < mMessages.length; i++) {            Pop3Msg pm = mMessages[i];            if (pm.isDeleted()) {                mNumDeleted--;                mDeletedSize -= pm.getSize();                pm.mDeleted = false;                count++;            }        }        return count;    }