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 java.io.Serializable>

protected static class InMemoryObjectStore.StoredObject<T>
extends java.lang.Object

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


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

Constructor Detail

InMemoryObjectStore.StoredObject

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

getId

public java.io.Serializable getId()

getItem

public T getItem()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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