Package com.db4o.internal
Class DisabledBlockConverter
- java.lang.Object
-
- com.db4o.internal.DisabledBlockConverter
-
- All Implemented Interfaces:
BlockConverter
public class DisabledBlockConverter extends java.lang.Object implements BlockConverter
-
-
Constructor Summary
Constructors Constructor Description DisabledBlockConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
blockAlignedBytes(int bytes)
int
blocksToBytes(int blocks)
int
bytesToBlocks(long bytes)
Slot
toBlockedLength(Slot slot)
Slot
toNonBlockedLength(Slot slot)
-
-
-
Method Detail
-
blockAlignedBytes
public int blockAlignedBytes(int bytes)
- Specified by:
blockAlignedBytes
in interfaceBlockConverter
-
blocksToBytes
public int blocksToBytes(int blocks)
- Specified by:
blocksToBytes
in interfaceBlockConverter
-
bytesToBlocks
public int bytesToBlocks(long bytes)
- Specified by:
bytesToBlocks
in interfaceBlockConverter
-
toBlockedLength
public Slot toBlockedLength(Slot slot)
- Specified by:
toBlockedLength
in interfaceBlockConverter
-
toNonBlockedLength
public Slot toNonBlockedLength(Slot slot)
- Specified by:
toNonBlockedLength
in interfaceBlockConverter
-
-