FileDocCategorySizeDatePackage
CacheEntry.javaAPI DocGlassfish v2 API3089Fri May 04 22:33:00 BST 2007com.sun.ejb.containers.util.cache

CacheEntry

public class CacheEntry extends Object

Fields Summary
public Object
key
public Object
value
public int
keyHashCode
public CacheEntry
next
public CacheEntry
before
public CacheEntry
after
Constructors Summary
public CacheEntry(Object k, Object v, CacheEntry n)
Create new entry.

 
        key = k;
        keyHashCode = k.hashCode();
        value = v; 
        next = n;
    
public CacheEntry(Object k, int kh, Object v, CacheEntry n)

 
        key = k;
        keyHashCode = kh;
        value = v; 
        next = n;
    
Methods Summary
public inthashCode()

        return keyHashCode;
    
public com.sun.ejb.containers.util.cache.CacheEntryinitialize(java.lang.Object k, java.lang.Object v, com.sun.ejb.containers.util.cache.CacheEntry n)

 
        key = k;
        keyHashCode = k.hashCode();
        value = v; 
        next = n;
        
        return this;
    
public com.sun.ejb.containers.util.cache.CacheEntryinitialize(java.lang.Object k, int kh, java.lang.Object v, com.sun.ejb.containers.util.cache.CacheEntry n)

 
        key = k;
        keyHashCode = kh;
        value = v; 
        next = n;
        
        return this;
        
    
public java.lang.StringtoString()

        return key + "=" + value;