public static class SimpleFormat.FFloat extends SimpleFormat
SimpleFormat.FBigDec, SimpleFormat.FBigInt, SimpleFormat.FBool, SimpleFormat.FByte, SimpleFormat.FChar, SimpleFormat.FDate, SimpleFormat.FDouble, SimpleFormat.FFloat, SimpleFormat.FInt, SimpleFormat.FLong, SimpleFormat.FShort, SimpleFormat.FStringID_BIGDEC, ID_BIGINT, ID_BOOL, ID_BOOL_W, ID_BYTE, ID_BYTE_W, ID_CHAR, ID_CHAR_W, ID_DATE, ID_DOUBLE, ID_DOUBLE_W, ID_FLOAT, ID_FLOAT_W, ID_INT, ID_INT_W, ID_LONG, ID_LONG_W, ID_NULL, ID_NUMBER, ID_OBJECT, ID_PREDEFINED, ID_SHORT, ID_SHORT_W, ID_SIMPLE_MAX, ID_SIMPLE_MIN, ID_STRING| Constructor and Description |
|---|
SimpleFormat.FFloat(Catalog catalog,
boolean primitive) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
copySecKey(RecordInput input,
RecordOutput output)
Called after skipToSecKey() to copy the data bytes of a singular
(XXX_TO_ONE) key field.
|
(package private) int |
getPrimitiveLength() |
(package private) java.lang.Object |
newArray(int len)
Creates an array of the format's class of the given length, as if
Array.newInstance(getType(), len) were called.
|
java.lang.Object |
newInstance(EntityInput input,
boolean rawAccess)
Creates a new instance of the target class using its default
constructor.
|
(package private) java.lang.Object |
newPrimitiveArray(int len,
EntityInput input) |
(package private) void |
readPrimitiveField(java.lang.Object o,
EntityInput input,
java.lang.reflect.Field field) |
(package private) void |
skipContents(RecordInput input)
Skips over the object's contents, as if readObject() were called, but
without returning an object.
|
(package private) void |
writeObject(java.lang.Object o,
EntityOutput output,
boolean rawAccess)
Writes a given instance of the target class to the output data bytes.
|
(package private) void |
writePrimitiveArray(java.lang.Object o,
EntityOutput output) |
(package private) void |
writePrimitiveField(java.lang.Object o,
EntityOutput output,
java.lang.reflect.Field field) |
collectRelatedFormats, copySecMultiKeyPrimitiveArray, evolve, getWrapperFormat, initialize, isPrimitive, isSimple, readObject, setWrapperFormat, skipPrimitiveArrayallowEvolveFromProxy, areNestedRefsProhibited, convertRawObject, copySecMultiKey, evolveMetadata, getAccessor, getCatalog, getClassMetadata, getClassName, getComponentType, getDimensions, getEntityFormat, getEntityMetadata, getEnumConstants, getEvolveNeeded, getExistingType, getFields, getId, getLatestVersion, getNewStringFormat, getOldKeyName, getPreviousVersion, getProxiedFormat, getReader, getSequenceKeyFormat, getSuperFormat, getSuperType, getType, getVersion, initCatalog, initializeIfNeeded, initializeReader, isArray, isAssignableTo, isCurrentVersion, isDeleted, isEntity, isEnum, isInitialized, isModelClass, isNew, isPredefined, isPriKeyNullOrZero, isSameClass, migrateFromBeta, nullifySecKey, readPriKey, setDeleted, setEvolveNeeded, setId, setLatestVersion, setProxiedFormat, setReader, setSuperFormat, setUnused, skipToSecKey, toString, writePriKeySimpleFormat.FFloat(Catalog catalog, boolean primitive)
java.lang.Object newArray(int len)
Formatpublic java.lang.Object newInstance(EntityInput input, boolean rawAccess) throws RefreshException
FormatnewInstance in interface ReadernewInstance in class FormatRefreshExceptionvoid writeObject(java.lang.Object o,
EntityOutput output,
boolean rawAccess)
FormatwriteObject in class Formatvoid skipContents(RecordInput input)
FormatskipContents in class Formatvoid copySecKey(RecordInput input, RecordOutput output)
FormatcopySecKey in class Formatjava.lang.Object newPrimitiveArray(int len,
EntityInput input)
throws RefreshException
newPrimitiveArray in class SimpleFormatRefreshExceptionvoid writePrimitiveArray(java.lang.Object o,
EntityOutput output)
writePrimitiveArray in class SimpleFormatint getPrimitiveLength()
getPrimitiveLength in class SimpleFormatvoid readPrimitiveField(java.lang.Object o,
EntityInput input,
java.lang.reflect.Field field)
throws java.lang.IllegalAccessException,
RefreshException
readPrimitiveField in class SimpleFormatjava.lang.IllegalAccessException - from subclasses.RefreshExceptionvoid writePrimitiveField(java.lang.Object o,
EntityOutput output,
java.lang.reflect.Field field)
throws java.lang.IllegalAccessException
writePrimitiveField in class SimpleFormatjava.lang.IllegalAccessException - from subclasses.Copyright (c) 2004-2012 Oracle. All rights reserved.