I'm sorry Martin if I gave you that kind of impression, but I never thought, and moreover never said, that my idea is better than someone else's. I only said that a scanf implementation would be hard to realize due to immutability matter and so, only for the sake of curiosity, I asked the OP why he prefered scanf vs Scanner class.
Maurizio Cucchiara Il giorno 13/mar/2011 23.35, "Martin Gainty" <mgai...@hotmail.com> ha scritto: Maurizio (et al) there is no scanf functionality currently available in any of the Java Libraries Scanner methods comes close to implementing scanf but so does tokenizing an array of String constructors to append to StringBuffer either way *will probably work* Nota Bene: if you're suggesting your way is better than someone elses be prepared for the opportunity to prove what you originally promised thats the reason why i suggested IF you have a better way to implement scanf method..go ahead ...and code the method and display the code to the dev list so the rest of us so we can *learn* the implementation. Martin ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note ... > Date: Sun, 13 Mar 2011 19:00:25 +0100 > Subject: Re: Just a stab in the dark > From: maurizio.cucchi...@gmail.com > To: user@struts.apache.org > CC: ahardy.str...@cyberspaceroad.com > > I'm sorry, but unfortunately I have any implementation and to be > frankly I don't understand w...