Project JXTA

net.jxta.impl.util
Interface CacheEntry

All Known Implementing Classes:
Cache.CacheEntryImpl

public interface CacheEntry

Part of a pre jdk1.4 replacement for LinkedHashMap which is basically a cache. The following is the definition of an entry in the cache. The implementation is the business of the Cache class. As far as the application is concerned, it is a handle that can return a key and a value. It is constructed and managed by the Cache class.


Method Summary
 Object getKey()
           
 Object getValue()
           
 

Method Detail

getKey

Object getKey()

getValue

Object getValue()

JXTA J2SE