All pastes #539765 Raw Edit

df

public java v1 · immutable
·published 2007-06-05 10:38 UTC
rendered paste body
/* * Created on 4.6.2007 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates *//** * @author jjokisal * * TODO To change the template for this generated type comment go to * Window - Preferences - Java - Code Style - Code Templates */public class Y {	int value;		public Y(){		value=5;	}		synchronized public void setValue(int value){		this.value=value;	}		synchronized public int getValue(){		return value;	}		synchronized public void swap(Y y){		int [][] eheh=new int[1024][1024];		for(int j=0;j<1024;j++)			for(int i=0;i<1024;i++){ // ::::D				eheh[i][j]=3892;			}		System.out.println("LUKKOON");		value = y.getValue();	}}