ShellingSegregationModel.java
/**
	 * Swaps with empty random from temporary.
	 *
	 * @return true if swap occured
	 */
Swaps with empty random from temporary.

@return true if swap occured
Swaps with empty random from temporary . @return true if swap occured
void swap(int i, int j)
    {
		Element temp = getTemporary().get(i,j);
		getTemporary().put(getTemporary().randomIndex(Element.NULL), temp);
		getTemporary().put(i, j, Element.NULL);
    }
void swap ( int i , int j ) { Element temp = getTemporary ( ) . get ( i , j ) ; getTemporary ( ) . put ( getTemporary ( ) . randomIndex ( Element . NULL ) , temp ) ; getTemporary ( ) . put ( i , j , Element . NULL ) ; }
Swaps with empty random from temporary.
Swaps with empty random from temporary .