Re: [Collections] Difference between Pop and remove methods

2012-03-27 Thread Detlef Günther
Hi Shiva, both seem to do the same: remove and return the top element of the stack. Since it is a stack the pop op should be the correct one. Regards Detlef Original-Nachricht > Datum: Tue, 27 Mar 2012 16:11:16 +0530 > Von: Shiva Krishnan > An: dev@commons.apache.org > Betref

Re: [Collections] Difference between pop and remove

2012-03-27 Thread Detlef Günther
Hi to you! Original-Nachricht > Datum: Tue, 27 Mar 2012 16:09:01 +0530 > Von: Shiva Krishnan > An: dev@commons.apache.org > Betreff: [Collections] Difference between pop and remove > Hi -- NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!

Re: [math] Improvement: Interpreter for mathematical expressions

2012-03-27 Thread Detlef Günther
elopers List > Betreff: Re: [math] Improvement: Interpreter for mathematical expressions > On Tue, Mar 27, 2012 at 10:06 AM, Thomas Neidhart > > wrote: > > > 2012/3/27 "Detlef Günther" > > > >> Hello, > >> > >> it would be nice to

[math] Improvement: Interpreter for mathematical expressions

2012-03-27 Thread Detlef Günther
Hello, it would be nice to have an interpreter for mathematical expressions so that functions may be defined at runtime. Example for f(x): ExpInter ei = new ExpInter(); ei.setFunction("ln(3*sin(2*x)+3)"); // Plot the function: for (double x=0.0;x<3.0;x+=0.1) { y = ei(x); // ...