Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!32g2000vbe.googlegroups.com!not-for-mail From: Saeed Amrollahi Newsgroups: comp.lang.java.programmer Subject: Re: The greeting code in Java Date: Sun, 19 Jun 2011 11:36:59 -0700 (PDT) Organization: http://groups.google.com Lines: 11 Message-ID: References: <3d6aab49-9a4a-4614-af12-bb1c95bebbe7@w4g2000yqm.googlegroups.com> NNTP-Posting-Host: 79.127.54.18 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1308509499 21495 127.0.0.1 (19 Jun 2011 18:51:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 19 Jun 2011 18:51:39 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 32g2000vbe.googlegroups.com; posting-host=79.127.54.18; posting-account=x4Lj4AoAAABzOb3wqfl972VDu6OmtJ9j User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17,gzip(gfe) Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5395 On Jun 19, 6:31=A0pm, Jeff Higgins wrote: > On 06/19/2011 09:06 AM, Saeed Amrollahi wrote: > > > What are the problems of my code and how can I write > > a better one. Please throw some light. > > What means better? For example using less abstractions and less involve with Java stream class hierarchy. -- Saeed