> /////////////////////////////////////////////////////////// > /** > * Description of the Method > * > *@return Description of the Return Value > */ > public int hashCode() > { > return key.hashCode(); > } > > > /////////////////////////////////////////////////// > /** > * Description of the Method > * > *@return Description of the Return Value > */ > public String toString() > { > return "[key=" + key + ", val=" + val + "]"; > } > > } > // end class > > > > > > 1.1 jakarta-commons-sandbox/util/src/java/org/apache/commons/util/lru/ILRUElement.java > > Index: ILRUElement.java > =================================================================== > package org.apache.commons.util.lru; > > import java.io.Serializable; > > /** > * Allows the element to be overriden and customized. > * > * Pulled from JCS project for ease of use. > * > *@author asmuts > *@created January 15, 2002 > */ > public interface ILRUElement extends Serializable > { > /** > * Gets the key attribute of the ILRUElement object > * > *@return The key value > */ > public Serializable getKey(); > > > /** > * Gets the val attribute of the ILRUElement object > * > *@return The val value > */ > public Serializable getVal(); > > > /** > * Gets the createTime attribute of the ILRUElement object > * > *@return The createTime value > */ > public long getCreateTime(); > > } > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>