java.lang.Object | |
↳ | com.atlassian.jira.util.map.CacheObject<T> |
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. Although this class is marked as being Serializable, instances will only truly be thus if the value they wrap is itself Serializable (or null). Copyright (c) 2002-2004 All rights reserved.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
NULL_INSTANCE | A CacheObject<T> whose value is null. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a CacheObject<T> whose value is null.
| |||||||||||
Wraps the given value in a CacheObject.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
A CacheObject<T> whose value is null. Prefer NULL()
to avoid generic-related warnings.
Returns a CacheObject<T> whose value is null.
Wraps the given value in a CacheObject.
object | a <T> |
---|