CTL.Types
Class Reference<T>
java.lang.Object
CTL.Types.Reference<T>
- All Implemented Interfaces:
- Writable, TemplHack
public class Reference<T>
- extends java.lang.Object
- implements Writable, TemplHack
Implementation of ctl::reference in Java
Constructor Summary |
Reference(java.lang.Object obj)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
map
private static ObjectMap map
first
private boolean first
typeID
private long typeID
type
private TypeTree type
Reference
public Reference(java.lang.Object obj)
setTypes
public void setTypes(TypeTree[] types)
- Specified by:
setTypes
in interface TemplHack
first
public boolean first()
equals
public boolean equals(java.lang.Object moo)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
cleanup
public static void cleanup()
debug
public static void debug()
typeID
public long typeID()
obj
public T obj()
unique
public static int unique()
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