wt.util
Class Cache.CacheEntry

java.lang.Object
  extended bywt.util.Cache.CacheEntry
All Implemented Interfaces:
Map.Entry
Enclosing class:
Cache

protected class Cache.CacheEntry
extends Object
implements Map.Entry

Default implementation of Map.Entry


Field Summary
(package private)  int index
           
 
Constructor Summary
(package private) Cache.CacheEntry(int index)
           
 
Method Summary
 boolean equals(Object o)
           
 Object getKey()
           
 Object getValue()
           
 int hashCode()
           
 Object setValue(Object new_value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

index

final int index
Constructor Detail

Cache.CacheEntry

Cache.CacheEntry(int index)
Method Detail

getKey

public Object getKey()
Specified by:
getKey in interface Map.Entry

getValue

public Object getValue()
Specified by:
getValue in interface Map.Entry

setValue

public Object setValue(Object new_value)
Specified by:
setValue in interface Map.Entry

equals

public boolean equals(Object o)
Specified by:
equals in interface Map.Entry

hashCode

public int hashCode()
Specified by:
hashCode in interface Map.Entry

toString

public String toString()