cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piroumian, Konstantin" <KPiroum...@flagship.ru>
Subject Re: [Heads Up] Utility for efficiency
Date Fri, 18 Jan 2002 12:43:10 GMT
> Berin Loritsch wrote:
> 
> > 
> 

 <snip/>

> 
> Buffers are really great for FIFO (first in, first out).
> 
> For LIFO (last in, first out), the JDK offers java.util.Stack, but its 
> use should avoided since it is synchronized. There's an unsynchronized 
> replacement in org.apache.avalon.excalibur.collections.ArrayStack.
> 

Why not use java.util.LinkedList instead of java.util.Stack?

Regards,
    Konstantin

> 
> Sylvain
> 
> -- 
> Sylvain Wallez
> Anyware Technologies - http://www.anyware-tech.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message