org.infinispan.marshall
Class UnmarshalledReferences
java.lang.Object
org.infinispan.marshall.UnmarshalledReferences
public class UnmarshalledReferences
- extends Object
An efficient array-based list of referenced objects, using the reference id as a subscript for the array.
- Since:
- 4.0
- Author:
- Manik Surtani (manik@jboss.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnmarshalledReferences
public UnmarshalledReferences()
getReferencedObject
public Object getReferencedObject(int ref)
- Retrieves an object referenced by an id
- Parameters:
ref
- reference
- Returns:
- object
putReferencedObject
public void putReferencedObject(int ref,
Object o)
- Adds a referenced object to the list of references
- Parameters:
ref
- reference ido
- object
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.