Package com.db4o.internal
Class BlockSizeBlockConverter
- java.lang.Object
 - 
- com.db4o.internal.BlockSizeBlockConverter
 
 
- 
- All Implemented Interfaces:
 BlockConverter
public final class BlockSizeBlockConverter extends java.lang.Object implements BlockConverter
 
- 
- 
Constructor Summary
Constructors Constructor Description BlockSizeBlockConverter(int blockSize) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intblockAlignedBytes(int bytes)intblocksToBytes(int blocks)intbytesToBlocks(long bytes)SlottoBlockedLength(Slot slot)SlottoNonBlockedLength(Slot slot) 
 - 
 
- 
- 
Method Detail
- 
bytesToBlocks
public int bytesToBlocks(long bytes)
- Specified by:
 bytesToBlocksin interfaceBlockConverter
 
- 
blockAlignedBytes
public int blockAlignedBytes(int bytes)
- Specified by:
 blockAlignedBytesin interfaceBlockConverter
 
- 
blocksToBytes
public int blocksToBytes(int blocks)
- Specified by:
 blocksToBytesin interfaceBlockConverter
 
- 
toBlockedLength
public Slot toBlockedLength(Slot slot)
- Specified by:
 toBlockedLengthin interfaceBlockConverter
 
- 
toNonBlockedLength
public Slot toNonBlockedLength(Slot slot)
- Specified by:
 toNonBlockedLengthin interfaceBlockConverter
 
 - 
 
 -