Package com.db4o.internal.slots
Class Slot
- java.lang.Object
- 
- com.db4o.internal.slots.Slot
 
- 
 public class Slot extends java.lang.Object
- 
- 
Field SummaryFields Modifier and Type Field Description static intMARSHALLED_LENGTHstatic intNEWstatic intUPDATEstatic SlotZERO
 - 
Constructor SummaryConstructors Constructor Description Slot(int address, int length)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intaddress()Slotappend(Slot slot)intcompareByAddress(Slot slot)intcompareByLength(Slot slot)booleanequals(java.lang.Object obj)inthashCode()booleanisDirectlyPreceding(Slot other)booleanisNew()booleanisNull()static booleanisNull(Slot slot)booleanisUpdate()intlength()SlotsubSlot(int offset)java.lang.StringtoString()Slottruncate(int requiredLength)
 
- 
- 
- 
Field Detail- 
ZEROpublic static final Slot ZERO 
 - 
NEWpublic static final int NEW - See Also:
- Constant Field Values
 
 - 
UPDATEpublic static final int UPDATE - See Also:
- Constant Field Values
 
 - 
MARSHALLED_LENGTHpublic static int MARSHALLED_LENGTH 
 
- 
 - 
Method Detail- 
addresspublic int address() 
 - 
lengthpublic int length() 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
subSlotpublic Slot subSlot(int offset) 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
truncatepublic Slot truncate(int requiredLength) 
 - 
compareByAddresspublic int compareByAddress(Slot slot) 
 - 
compareByLengthpublic int compareByLength(Slot slot) 
 - 
isDirectlyPrecedingpublic boolean isDirectlyPreceding(Slot other) 
 - 
isNullpublic boolean isNull() 
 - 
isNewpublic boolean isNew() 
 - 
isUpdatepublic boolean isUpdate() 
 - 
isNullpublic static boolean isNull(Slot slot) 
 
- 
 
-