-- --></A><H3>
clearMemory</H3>
<PRE>
public void <B>clearMemory</B>()</PRE>
<DL>
<DD>Clears all items in the cache.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="trimToSize(int)"><!-- --></A><H3>
trimToSize</H3>
<PRE>
protected void <B>trimToSize</B>(int&nbsp;size)</PRE>
<DL>
<DD>Removes the least recently used items from the cache until the current size is less than the given size.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>size</CODE> - The size the cache should be less than.</DL>
</DD>
</DL>
<!-- ====