com.octo.android.robospice.persistence.memory
Class CacheItem<T>
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheItem
public CacheItem(T data)
CacheItem
public CacheItem(long creationDate,
T data)
getCreationDate
public long getCreationDate()
getData
public T getData()
Copyright © 2012-2014. All Rights Reserved.