com.octo.android.robospice.persistence.memory
Class CacheItem<T>

java.lang.Object
  extended by com.octo.android.robospice.persistence.memory.CacheItem<T>
Type Parameters:
T - the type of object that will be stored in the cache.

public class CacheItem<T>
extends Object

The CacheItem class represents a cached object, consisting of a piece of data and a time stamp marking when the data was added to the cache.


Constructor Summary
CacheItem(long creationDate, T data)
           
CacheItem(T data)
           
 
Method Summary
 long getCreationDate()
           
 T getData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheItem

public CacheItem(T data)

CacheItem

public CacheItem(long creationDate,
                 T data)
Method Detail

getCreationDate

public long getCreationDate()

getData

public T getData()


Copyright © 2012-2014. All Rights Reserved.