public class MethodPageValueManager<T> extends Object implements PageValueManager<T>
| Modifier | Constructor and Description |
|---|---|
protected |
MethodPageValueManager() |
protected |
MethodPageValueManager(String typePath) |
protected |
MethodPageValueManager(String typePath,
String byteArrayWriteMethodName,
String byteArrayReadMethodName,
String pageReadMethodName) |
| Modifier and Type | Method and Description |
|---|---|
void |
disposeBytes(byte[] bytes) |
static byte[] |
getByteBytes(Page page) |
byte[] |
getBytes(Page page) |
byte[] |
getBytes(T value) |
static Byte |
getByteValue(byte[] bytes) |
static byte[] |
getDoubleBytes(Page page) |
static Double |
getDoubleValue(byte[] bytes) |
static byte[] |
getFloatBytes(Page page) |
static Float |
getFloatValue(byte[] bytes) |
static byte[] |
getIntBytes(Page page) |
static Integer |
getIntValue(byte[] bytes) |
static byte[] |
getLongBytes(Page page) |
static Long |
getLongValue(byte[] bytes) |
static byte[] |
getShortBytes(Page page) |
static Short |
getShortValue(byte[] bytes) |
static byte[] |
getStringBytes(Page page) |
static String |
getStringValue(byte[] bytes) |
<V extends T> |
getValue(byte[] bytes) |
static byte[] |
getValueByteBytes(Byte b) |
static byte[] |
getValueDoubleBytes(Double d) |
static byte[] |
getValueFloatBytes(Float f) |
static byte[] |
getValueIntBytes(Integer i) |
static byte[] |
getValueLongBytes(Long l) |
static byte[] |
getValueShortBytes(Short s) |
static byte[] |
getValueStringBytes(String s) |
<V extends T> |
readFromPage(Page page) |
String |
toString() |
protected MethodPageValueManager()
protected MethodPageValueManager(String typePath)
public static byte[] getByteBytes(Page page)
public static Byte getByteValue(byte[] bytes)
public static byte[] getDoubleBytes(Page page)
public static Double getDoubleValue(byte[] bytes)
public static byte[] getFloatBytes(Page page)
public static Float getFloatValue(byte[] bytes)
public static byte[] getIntBytes(Page page)
public static Integer getIntValue(byte[] bytes)
public static byte[] getLongBytes(Page page)
public static Long getLongValue(byte[] bytes)
public static byte[] getShortBytes(Page page)
public static Short getShortValue(byte[] bytes)
public static byte[] getStringBytes(Page page)
public static String getStringValue(byte[] bytes)
public static byte[] getValueByteBytes(Byte b)
public static byte[] getValueDoubleBytes(Double d)
public static byte[] getValueFloatBytes(Float f)
public static byte[] getValueIntBytes(Integer i)
public static byte[] getValueLongBytes(Long l)
public static byte[] getValueShortBytes(Short s)
public static byte[] getValueStringBytes(String s)
public void disposeBytes(byte[] bytes)
disposeBytes in interface PageValueManager<T>public byte[] getBytes(Page page)
getBytes in interface PageValueManager<T>public byte[] getBytes(T value)
getBytes in interface PageValueManager<T>public <V extends T> V getValue(byte[] bytes)
getValue in interface PageValueManager<T>public <V extends T> V readFromPage(Page page)
readFromPage in interface PageValueManager<T>Copyright © 2015 Revolution Systems Inc.. All rights reserved.