com.carbonfive.flash
Class ReferenceCache
java.lang.Object
com.carbonfive.flash.ReferenceCache
- All Implemented Interfaces:
- java.io.Serializable
public class ReferenceCache
- extends java.lang.Object
- implements java.io.Serializable
Cache used to maintain references between ASObject graphs as well as Java object graphs. This cache knows
whether it should use equivalence (.equals()) or identity (==) to match objects. The default is identity.
- See Also:
- Serialized Form
Method Summary |
boolean |
containsKey(java.lang.Object key)
|
java.lang.Object |
get(java.lang.Object key)
|
void |
put(java.lang.Object key,
java.lang.Object value)
|
int |
size()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReferenceCache
public ReferenceCache(boolean useEquivalence)
put
public void put(java.lang.Object key,
java.lang.Object value)
get
public java.lang.Object get(java.lang.Object key)
containsKey
public boolean containsKey(java.lang.Object key)
size
public int size()