org.mule.util.store
Class InMemoryObjectStore.StoredObject<T>

java.lang.Object
  extended by org.mule.util.store.InMemoryObjectStore.StoredObject<T>
Enclosing class:
InMemoryObjectStore<T extends Serializable>

protected static class InMemoryObjectStore.StoredObject<T>
extends Object

Represents the object stored in the store. This class holds the Object itslef and its ID.


Constructor Summary
InMemoryObjectStore.StoredObject(Serializable id, T item)
           
 
Method Summary
 boolean equals(Object o)
           
 Serializable getId()
           
 T getItem()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InMemoryObjectStore.StoredObject

public InMemoryObjectStore.StoredObject(Serializable id,
                                        T item)
Method Detail

getId

public Serializable getId()

getItem

public T getItem()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.