Package com.db4o.internal
Class Null
- java.lang.Object
- 
- com.db4o.internal.Null
 
- 
- All Implemented Interfaces:
- PreparedComparison,- Comparable4,- Indexable4,- LinkLengthAware
 
 public class Null extends java.lang.Object implements Indexable4, PreparedComparison 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(java.lang.Object a_obj)return a negative int, zero or a positive int if the object being held in 'this' is smaller, equal or greater than the passed object.
 Typical implementation: return this.object - obj;voiddefragIndexEntry(DefragmentContextImpl context)intlinkLength()PreparedComparisonprepareComparison(Context context, java.lang.Object obj_)creates a prepared comparison to compare multiple objects against one single object.java.lang.ObjectreadIndexEntry(Context context, ByteArrayBuffer a_reader)voidwriteIndexEntry(Context context, ByteArrayBuffer a_writer, java.lang.Object a_object)
 
- 
- 
- 
Field Detail- 
INSTANCEpublic static final Null INSTANCE 
 
- 
 - 
Method Detail- 
compareTopublic int compareTo(java.lang.Object a_obj) Description copied from interface:PreparedComparisonreturn a negative int, zero or a positive int if the object being held in 'this' is smaller, equal or greater than the passed object.
 Typical implementation: return this.object - obj;- Specified by:
- compareToin interface- PreparedComparison
 
 - 
linkLengthpublic int linkLength() - Specified by:
- linkLengthin interface- LinkLengthAware
 
 - 
readIndexEntrypublic java.lang.Object readIndexEntry(Context context, ByteArrayBuffer a_reader) - Specified by:
- readIndexEntryin interface- Indexable4
 
 - 
writeIndexEntrypublic void writeIndexEntry(Context context, ByteArrayBuffer a_writer, java.lang.Object a_object) - Specified by:
- writeIndexEntryin interface- Indexable4
 
 - 
defragIndexEntrypublic void defragIndexEntry(DefragmentContextImpl context) - Specified by:
- defragIndexEntryin interface- Indexable4
 
 - 
prepareComparisonpublic PreparedComparison prepareComparison(Context context, java.lang.Object obj_) Description copied from interface:Comparable4creates a prepared comparison to compare multiple objects against one single object.- Specified by:
- prepareComparisonin interface- Comparable4
- Parameters:
- context- the context of the comparison
- obj_- the object that is to be compared against multiple other objects
- Returns:
- the prepared comparison
 
 
- 
 
-