IntegerWrapper.java

Go to the documentation of this file.
00001 package counter;
00002 
00003 import jvn.JvnRead;
00004 import jvn.JvnWrite;
00005 
00006 class IntegerWrapper implements java.io.Serializable {
00007         private static final long serialVersionUID = 8539325281848284218L;
00008         int data;
00009 
00010         public IntegerWrapper() {
00011                 data = 0;
00012         }
00013 
00014         @JvnWrite public void write(int integer) {
00015                 data = integer;
00016         }
00017         
00018         @JvnRead public int read() {
00019                 return data;    
00020         }
00021 }

Generated on Wed Jan 2 10:15:54 2008 for Javanaise by  doxygen 1.5.4