mam.utility
Class AgedEntry

Direct Known Subclasses:
HardAgedEntry

public class AgedEntry


Field Summary
 static intDEFAULT_STARTING_AGE
           
 private intm_age
           
 private SoftReferencem_entry
           

Constructor Summary
AgedEntry()
           
AgedEntry(Object entry)
           

Method Summary
 intgetAge()
           
 ObjectgetEntry()
           
 voidhalfAge()
           
 inthashCode()
           
 booleanisExpired()
           
 voidsetAge(int age)
           
 protected voidsetEntry(Object entry)
           
 StringtoDebugString()
           

Field Detail

DEFAULT_STARTING_AGE

public static int DEFAULT_STARTING_AGE

m_age

private int m_age

m_entry

private SoftReference m_entry
Constructor Detail

AgedEntry

public AgedEntry()

AgedEntry

public AgedEntry(Object entry)
Method Detail

getAge

public int getAge()

getEntry

public Object getEntry()

halfAge

public void halfAge()

hashCode

public int hashCode()

isExpired

public boolean isExpired()

setAge

public void setAge(int age)

setEntry

protected void setEntry(Object entry)

toDebugString

public String toDebugString()