org.hypergraphdb.storage
Class BAtoHandle

java.lang.Object
  extended by org.hypergraphdb.storage.BAtoHandle
All Implemented Interfaces:
ByteArrayConverter<HGPersistentHandle>

public class BAtoHandle
extends java.lang.Object
implements ByteArrayConverter<HGPersistentHandle>


Constructor Summary
BAtoHandle()
           
 
Method Summary
 HGPersistentHandle fromByteArray(byte[] byteArray)
           
static ByteArrayConverter<HGPersistentHandle> getInstance()
           
 byte[] toByteArray(HGPersistentHandle object)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BAtoHandle

public BAtoHandle()
Method Detail

getInstance

public static ByteArrayConverter<HGPersistentHandle> getInstance()

toByteArray

public byte[] toByteArray(HGPersistentHandle object)
Specified by:
toByteArray in interface ByteArrayConverter<HGPersistentHandle>

fromByteArray

public HGPersistentHandle fromByteArray(byte[] byteArray)
Specified by:
fromByteArray in interface ByteArrayConverter<HGPersistentHandle>