org.infinispan.marshall
Class UnmarshalledReferences

java.lang.Object
  extended by 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)

Constructor Summary
UnmarshalledReferences()
           
 
Method Summary
 Object getReferencedObject(int ref)
          Retrieves an object referenced by an id
 void putReferencedObject(int ref, Object o)
          Adds a referenced object to the list of references
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnmarshalledReferences

public UnmarshalledReferences()
Method Detail

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 id
o - object

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.