Iterator itr2 = temp.iterator(); while ( itr2.hasNext() ) { this.remove( ( ( Integer ) itr2.next() ).intValue() ); }
	public void removeObsolete() {		List temp = new ArrayList();		TIntObjectIterator itr = this.iterator();		int collsize = this.size();		for ( ; collsize-- > 0;) {			itr.advance();			FileInfo aFileInfo = ( FileInfo ) itr.value();			/* if EnumFileState.DOWNLOADED, remove the fileinfo from this */			if ( aFileInfo.getState().getState() == EnumFileState.DOWNLOADED				|| aFileInfo.getState().getState() == EnumFileState.CANCELLED ) {				temp.add( new Integer( itr.key() ) );			}		}		Iterator itr2 = temp.iterator();		while ( itr2.hasNext() ) {			this.remove( ( ( Integer ) itr2.next() ).intValue() );		}	}