public abstract class CacheEntry extends java.lang.ref.WeakReference implements InterfaceEntry
| Modifier and Type | Field and Description | 
|---|---|
| int | dataThe last time this entry was fetched | 
| java.lang.Object | hardReferenceDon't allow the object pointed to by this entry to be deallocated | 
| int | hashthe hash | 
| InterfaceEntry | nextEntrythe next entry | 
| Constructor and Description | 
|---|
| CacheEntry(int hash,
          java.lang.Object referent,
          InterfaceEntry next)creates a new Cache Entry | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clearHardReference()clear the hard reference | 
| boolean | equals(java.lang.Object obj) | 
| int | getData()The last time this entry was fetched | 
| boolean | hasHardReference()has this entry got a hard reference. | 
| int | hashCode() | 
| InterfaceEntry | next() | 
| void | setData(int temp)set the data | 
| void | setNext(InterfaceEntry entry)set the next entry | 
finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetpublic InterfaceEntry nextEntry
public final int hash
public int data
public java.lang.Object hardReference
public CacheEntry(int hash,
                  java.lang.Object referent,
                  InterfaceEntry next)
hash - The hash idreferent - the objectnext - the next elementpublic void setData(int temp)
setData in interface InterfaceEntrytemp - the valuepublic void clearHardReference()
clearHardReference in interface InterfaceEntrypublic boolean hasHardReference()
hasHardReference in interface InterfaceEntrypublic void setNext(InterfaceEntry entry)
setNext in interface InterfaceEntryentry - the next entrypublic InterfaceEntry next()
next in interface InterfaceEntry@CheckReturnValue public int hashCode()
hashCode in class java.lang.Object@CheckReturnValue public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object to checkpublic int getData()
InterfaceEntrygetData in interface InterfaceEntrystSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.