public class Null extends java.lang.Object implements Indexable4, PreparedComparison
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(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; |
void |
defragIndexEntry(DefragmentContextImpl context) |
int |
linkLength() |
PreparedComparison |
prepareComparison(Context context,
java.lang.Object obj_)
creates a prepared comparison to compare multiple objects
against one single object.
|
java.lang.Object |
readIndexEntry(Context context,
ByteArrayBuffer a_reader) |
void |
writeIndexEntry(Context context,
ByteArrayBuffer a_writer,
java.lang.Object a_object) |
public static final Null INSTANCE
public int compareTo(java.lang.Object a_obj)
PreparedComparisoncompareTo in interface PreparedComparisonpublic int linkLength()
linkLength in interface LinkLengthAwarepublic java.lang.Object readIndexEntry(Context context, ByteArrayBuffer a_reader)
readIndexEntry in interface Indexable4public void writeIndexEntry(Context context, ByteArrayBuffer a_writer, java.lang.Object a_object)
writeIndexEntry in interface Indexable4public void defragIndexEntry(DefragmentContextImpl context)
defragIndexEntry in interface Indexable4public PreparedComparison prepareComparison(Context context, java.lang.Object obj_)
Comparable4prepareComparison in interface Comparable4context - the context of the comparisonobj_ - the object that is to be compared
against multiple other objects