net.ontopia.utils
Class NullObject

java.lang.Object
  extended by net.ontopia.utils.NullObject

public final class NullObject
extends java.lang.Object

INTERNAL: A singleton null object for use where null cannot be used, and an object is required.


Field Summary
static NullObject INSTANCE
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final NullObject INSTANCE
Method Detail

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2000-2012 Ontopia.