TIntObjectHashMap tempServerInfoList = new TIntObjectHashMap(); int[] usefulServers = messageBuffer.readInt32List(); for ( int i = 0; i < usefulServers.length; i++ ) { int clientID = usefulServers[ i ]; tempServerInfoList.put( clientID, this.get( clientID ) );
TIntArrayList usefulServers = new TIntArrayList( messageBuffer.readInt32List() ); TIntArrayList oldServers = new TIntArrayList();  synchronized ( this ) { TIntObjectIterator itr = this.infoIntMap.iterator(); int size = this.infoIntMap.size(); for ( ; size-- > 0; ) { itr.advance(); int key = itr.key(); if ( !usefulServers.contains( key ) ) oldServers.add( key ); }  for ( int i = 0; i < oldServers.size(); i++ ) { int key = oldServers.get( i ); this.removed.add( this.infoIntMap.get( key ) ); this.infoIntMap.remove( key ); }
	public void clean( MessageBuffer messageBuffer ) {		TIntObjectHashMap tempServerInfoList = new TIntObjectHashMap();					int[] usefulServers = messageBuffer.readInt32List();				for ( int i = 0; i < usefulServers.length; i++ ) {			int clientID = usefulServers[ i ];			tempServerInfoList.put( clientID, this.get( clientID ) );					}		synchronized ( this ) {			this.infoIntMap = tempServerInfoList;				}		this.setChanged();		this.notifyObservers( this );	}