posted 21 years ago
Bascially I'm trying to ensure that the amount that it consumes in memory doesn't exceed a certain amount. Do you know if this is possible? Besides using the capacity method, because when if the capacity is > than MAX_MEMORY_AMOUNT, then it will already have exceeded that amount and I want to prevent that. Thanks in advance.
SCJP 1.4<br /><a href="http://www.cise.ufl.edu/~sih" target="_blank" rel="nofollow">www.cise.ufl.edu/~sih</a>