Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #2731

Re: using TreeMap how to return the Object ?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date Fri, 28 Jun 2013 21:13:43 -0500
Date Fri, 28 Jun 2013 19:13:47 -0700
From Patricia Shanahan <pats@acm.org>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
MIME-Version 1.0
Newsgroups comp.lang.java.help
Subject Re: using TreeMap how to return the Object ?
References <f11f9858-f870-42af-a3a3-e9fdb945ba41@googlegroups.com> <b0645c6d-9955-466b-abb5-5a7c8a3cbc2d@googlegroups.com>
In-Reply-To <b0645c6d-9955-466b-abb5-5a7c8a3cbc2d@googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Message-ID <e6-dnUVkhedK31PMnZ2dnUVZ_sSdnZ2d@earthlink.com> (permalink)
Lines 14
X-Usenet-Provider http://www.giganews.com
NNTP-Posting-Host 70.230.201.125
X-Trace sv3-TetNfkDAQikIP2e2wLm4MvPIPS2spZP3lRO0f8WLspDmoslcDkA/XTAC4MoBAuXAhGbyq3SCzylkMGs!pjDvK2WgY7WmCVafcswSXebruYaovXGp7Fr3eevQiAXQZprYNSxkSBxWj4UzTlZx9aSuzwD1vw0q!l6/HOiSf6XQ0QXUim0VJKOeMVm/flcLDy26mI/k21rJc4+M=
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 1675
Xref csiph.com comp.lang.java.help:2731

Show key headers only | View raw


On 6/28/2013 10:42 AM, Lew wrote:
...
>>     // Instance Variables
>
> Don't use pointless comments.
...

I suspect these comments may be the result of keeping the code organized
by designating where constructors, fields etc. are going to be placed.
Although I agree in general that one should avoid comments that merely
repeat what the code says, that may be a harmless exception.

Patricia

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

using TreeMap how to return the Object ? moonhkt <moonhkt@gmail.com> - 2013-06-26 22:30 -0700
  Re: using TreeMap how to return the Object ? Jeff Higgins <jeff@invalid.invalid> - 2013-06-27 11:19 -0400
    Re: using TreeMap how to return the Object ? Jeff Higgins <jeff@invalid.invalid> - 2013-06-27 13:15 -0400
    Re: using TreeMap how to return the Object ? Jeff Higgins <jeff@invalid.invalid> - 2013-07-01 10:49 -0400
  Re: using TreeMap how to return the Object ? Lew <lewbloch@gmail.com> - 2013-06-28 10:42 -0700
    Re: using TreeMap how to return the Object ? Patricia Shanahan <pats@acm.org> - 2013-06-28 19:13 -0700
      Re: using TreeMap how to return the Object ? Gene Wirchenko <genew@telus.net> - 2013-07-01 14:16 -0700

csiph-web