com.appenginefan.toolkit.persistence
Class LongPersistence
java.lang.Object
com.appenginefan.toolkit.persistence.MarshallingPersistence<Long>
com.appenginefan.toolkit.persistence.LongPersistence
- All Implemented Interfaces:
- Persistence<Long>
public class LongPersistence
- extends MarshallingPersistence<Long>
Storage specialized in persisting long values. Wraps
around a byte array based persistence for the backend.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LongPersistence
public LongPersistence(Persistence<byte[]> backend)
makeArray
protected byte[] makeArray(Long nonNullValue)
- Specified by:
makeArray in class MarshallingPersistence<Long>
makeType
protected Long makeType(byte[] nonNullValue)
- Specified by:
makeType in class MarshallingPersistence<Long>