public final class NSObjectCache
extends java.lang.Object
This class caches NSObjects.
| Constructor and Description |
|---|
NSObjectCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
freeDetails(java.lang.Object key)
Flushes the cache of NSObjects associated with the key.
|
void |
freeDetails(java.lang.Object key,
ObjectEntry obj)
Flushes the cache of a particular NSObject associated with a key.
|
NSObject |
getDetails(java.lang.Object key,
ObjectEntry obj)
Retrieves the cached NSObject for a given key.
|
void |
setDetails(java.lang.Object key,
NSObject obj)
Caches the NSObject for a given key.
|
public void setDetails(java.lang.Object key,
NSObject obj)
key - The key into the hashtable.obj - The NSObject to store.public NSObject getDetails(java.lang.Object key, ObjectEntry obj)
obj - The ObjectEntry object to get details for.key - The key into the hash table where the NSObject is stored.public void freeDetails(java.lang.Object key)
key - The key.public void freeDetails(java.lang.Object key,
ObjectEntry obj)
key - The key.obj - The ObjectEntry associated with a particular NSObject.
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.