de.grogra.math
Class Tuple2dType

java.lang.Object
  extended by de.grogra.reflect.MemberDecorator
      extended by de.grogra.reflect.TypeDecorator
          extended by de.grogra.persistence.ManageableType
              extended by de.grogra.persistence.SCOType
                  extended by de.grogra.math.Tuple2dType
All Implemented Interfaces:
Member, Type

public class Tuple2dType
extends SCOType


Nested Class Summary
 
Nested classes/interfaces inherited from class de.grogra.persistence.SCOType
SCOType.Field
 
Nested classes/interfaces inherited from class de.grogra.persistence.ManageableType
ManageableType.ArrayComponent
 
Field Summary
static Tuple2dType $TYPE
           
protected static int FIELD_COUNT
           
static SCOType POINT
           
static SCOType VECTOR
           
static SCOType.Field x$FIELD
           
static SCOType.Field y$FIELD
           
 
Fields inherited from class de.grogra.persistence.SCOType
representative
 
Fields inherited from class de.grogra.persistence.ManageableType
FIELD_NAME_SERIALIZATION, FIELD_NODE_SERIALIZATION, finished, LIST_SERIALIZATION
 
Fields inherited from interface de.grogra.reflect.Type
BOOLEAN, BYTE, CHAR, CLASS, DOUBLE, FLOAT, FLOATING_POINT, INT, INTEGRAL, INVALID, LOCAL_CLASS_MODIFIERS, LONG, MEMBER_CLASS_MODIFIERS, MEMBER_INTERFACE_MODIFIERS, NULL, NUMBER, NUMERIC, OBJECT, SHORT, STRING, TOP_LEVEL_CLASS_MODIFIERS, TOP_LEVEL_INTERFACE_MODIFIERS, TYPE, TYPE_0, VOID
 
Fields inherited from interface de.grogra.reflect.Member
ABSTRACT, ACCESS_MODIFIERS, ARRAY, BRIDGE, CONSTANT, FINAL, INTERFACE, JAVA_MODIFIERS, LOCAL_CLASS, MIN_UNUSED_MODIFIER, NATIVE, PRIVATE, PROTECTED, PUBLIC, STATIC, STRICT, SYNCHRONIZED, SYNTHETIC, TRANSIENT, VARARGS, VOLATILE
 
Constructor Summary
Tuple2dType(java.lang.Class c, SCOType supertype)
           
Tuple2dType(Tuple2d representative, SCOType supertype)
           
 
Method Summary
protected  java.lang.Object cloneNonsharedObject(java.lang.Object o, boolean deep)
           
protected  double getDouble(java.lang.Object o, int id)
           
protected  java.lang.Object newInstance(java.lang.Object repr)
           
protected  void setDouble(java.lang.Object o, int id, double value)
           
 
Methods inherited from class de.grogra.persistence.SCOType
addManagedField, addManagedField, getBoolean, getByte, getChar, getFloat, getInt, getLong, getObject, getRepresentative, getShort, isWritable, newInstance, setBoolean, setByte, setChar, setFloat, setInt, setLong, setObject, setShort, validate
 
Methods inherited from class de.grogra.persistence.ManageableType
addManagedField, cloneManageable, cloneObject, cloneObject, forClass, forName, forType, getFCOFields, getManageableSupertype, getManagedField, getManagedField, getManagedFieldCount, getSerializationMethod, getSupertype, isAssignableFrom, isSerializable, read, readObject, replaceType, resolveAliasField, setObject, setSerializable, setSerializationMethod, write
 
Methods inherited from class de.grogra.reflect.TypeDecorator
createArray, getArrayType, getBinaryName, getComponentType, getDeclaredField, getDeclaredFieldCount, getDeclaredInterface, getDeclaredInterfaceCount, getDeclaredMethod, getDeclaredMethodCount, getDeclaredType, getDeclaredTypeCount, getDefaultElementValue, getImplementationClass, getLookup, getPackage, getTypeId, getTypeLoader, isInstance, isStringSerializable, toString, undecorate, valueOf
 
Methods inherited from class de.grogra.reflect.MemberDecorator
getDeclaredAnnotation, getDeclaredAnnotationCount, getDeclaringType, getDecoratedMember, getDescriptor, getModifiers, getName, getSimpleName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.grogra.reflect.Member
getDeclaredAnnotation, getDeclaredAnnotationCount, getDeclaringType, getDescriptor, getModifiers, getName, getSimpleName
 

Field Detail

$TYPE

public static final Tuple2dType $TYPE

FIELD_COUNT

protected static final int FIELD_COUNT
See Also:
Constant Field Values

POINT

public static final SCOType POINT

VECTOR

public static final SCOType VECTOR

x$FIELD

public static final SCOType.Field x$FIELD

y$FIELD

public static final SCOType.Field y$FIELD
Constructor Detail

Tuple2dType

public Tuple2dType(java.lang.Class c,
                   SCOType supertype)

Tuple2dType

public Tuple2dType(Tuple2d representative,
                   SCOType supertype)
Method Detail

cloneNonsharedObject

protected java.lang.Object cloneNonsharedObject(java.lang.Object o,
                                                boolean deep)
Overrides:
cloneNonsharedObject in class ManageableType

getDouble

protected double getDouble(java.lang.Object o,
                           int id)
Overrides:
getDouble in class SCOType

newInstance

protected java.lang.Object newInstance(java.lang.Object repr)
Overrides:
newInstance in class SCOType

setDouble

protected void setDouble(java.lang.Object o,
                         int id,
                         double value)
Overrides:
setDouble in class SCOType