Impl.Types
Class MyRef
java.lang.Object
  
Impl.Types.MyRef
- All Implemented Interfaces: 
 - Writable
 
public class MyRef
- extends java.lang.Object
- implements Writable
  
Call-by-reference test
| 
Field Summary | 
 int | 
i
 
            | 
 java.lang.String | 
str
 
            | 
 
| 
Constructor Summary | 
MyRef(int i,
      java.lang.String str)
 
            | 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
i
public int i
str
public java.lang.String str
MyRef
public MyRef(int i,
             java.lang.String str)
toString
public java.lang.String toString()
- Overrides:
 toString in class java.lang.Object
 
 
read
public void read(SerialIn in)
          throws java.io.IOException,
                 java.lang.ClassNotFoundException,
                 java.lang.InstantiationException,
                 java.lang.IllegalAccessException,
                 java.lang.reflect.InvocationTargetException
- Specified by:
 read in interface Writable
 
- Throws:
 java.io.IOException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
 
write
public void write(SerialOut out)
           throws java.io.IOException,
                  java.lang.IllegalAccessException,
                  java.lang.reflect.InvocationTargetException,
                  CTLException
- Specified by:
 write in interface Writable
 
- Throws:
 java.io.IOException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
CTLException