groovyx.gpars.memoize
Class NullValue

java.lang.Object
  extended by groovyx.gpars.memoize.NullValue

public final class NullValue
extends java.lang.Object

Represents a null or void return value in the cache. Equals to all other instances of the same class.

Author:
Vaclav Pech Date: Jun 22, 2010

Constructor Summary
NullValue()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullValue

public NullValue()
Method Detail

equals

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

hashCode

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

Copyright © 2008–2012 Václav Pech. All Rights Reserved.