I am strugling so hard on this, could anybody help me? Here is my problem:

I need a fixed size linkedlist (100 elements) to store string objects.  The
reason for the fixed size is I don't know how many strings I will get, and I
don't want the linkedlist out grow so it will fill up the memory.  When I
got 101th string, I will delete the first one, and make the space for the
new one.  What is the efficient way to do that?

Thanks



_____________________________________________________________________________________
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to