Package com.db4o.internal.freespace
Class LengthKeySlotHandler
- java.lang.Object
-
- com.db4o.internal.freespace.SlotHandler
-
- com.db4o.internal.freespace.LengthKeySlotHandler
-
- All Implemented Interfaces:
Comparable4
,Indexable4
,LinkLengthAware
public class LengthKeySlotHandler extends SlotHandler
-
-
Field Summary
-
Fields inherited from class com.db4o.internal.freespace.SlotHandler
_current
-
-
Constructor Summary
Constructors Constructor Description LengthKeySlotHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(java.lang.Object obj)
PreparedComparison
prepareComparison(Context context, java.lang.Object slot)
creates a prepared comparison to compare multiple objects against one single object.-
Methods inherited from class com.db4o.internal.freespace.SlotHandler
defragIndexEntry, linkLength, readIndexEntry, writeIndexEntry
-
-
-
-
Method Detail
-
compareTo
public int compareTo(java.lang.Object obj)
-
prepareComparison
public PreparedComparison prepareComparison(Context context, java.lang.Object slot)
Description copied from interface:Comparable4
creates a prepared comparison to compare multiple objects against one single object.- Parameters:
context
- the context of the comparisonslot
- the object that is to be compared against multiple other objects- Returns:
- the prepared comparison
-
-