com.atlassian.jira.util.map
Class CacheObject

java.lang.Object
  extended by com.atlassian.jira.util.map.CacheObject

public class CacheObject
extends Object

Used for keys or values in Maps that do not support null keys, or in caches where it is needed to differentiate between a cached 'null' value and an object not being in the cache. Copyright (c) 2002-2004 All rights reserved.


Field Summary
static CacheObject NULL_INSTANCE
           
 
Constructor Summary
CacheObject(Object value)
           
 
Method Summary
 boolean equals(Object o)
           
 Object getValue()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_INSTANCE

public static final CacheObject NULL_INSTANCE
Constructor Detail

CacheObject

public CacheObject(Object value)
Method Detail

getValue

public Object getValue()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2008 Atlassian. All Rights Reserved.