com.atlassian.jira.util.map
Class CacheObject<T>
java.lang.Object
com.atlassian.jira.util.map.CacheObject<T>
public class CacheObject<T>
- 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
Deprecated. Create your own null instance for type safety. Deprecated since v4.0 |
NULL_INSTANCE
@Deprecated
public static final CacheObject NULL_INSTANCE
- Deprecated. Create your own null instance for type safety. Deprecated since v4.0
CacheObject
public CacheObject(T value)
getValue
public T getValue()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2002-2012 Atlassian. All Rights Reserved.