de.grogra.math
Class Tuple2fType

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.Tuple2fType
All Implemented Interfaces:
Member, Type

public class Tuple2fType
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 Tuple2fType $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
Tuple2fType(java.lang.Class c, SCOType supertype)
           
Tuple2fType(Tuple2f representative, SCOType supertype)
           
 
Method Summary
protected  java.lang.Object cloneNonsharedObject(java.lang.Object o, boolean deep)
           
protected  float getFloat(java.lang.Object o, int id)
           
protected  java.lang.Object newInstance(java.lang.Object repr)
           
protected  void setFloat(java.lang.Object o, int id, float value)
           
 
Methods inherited from class de.grogra.persistence.SCOType
addManagedField, addManagedField, getBoolean, getByte, getChar, getDouble, getInt, getLong, getObject, getRepresentative, getShort, isWritable, newInstance, setBoolean, setByte, setChar, setDouble, 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 Tuple2fType $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

Tuple2fType

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

Tuple2fType

public Tuple2fType(Tuple2f representative,
                   SCOType supertype)
Method Detail

cloneNonsharedObject

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

getFloat

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

newInstance

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

setFloat

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