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 ?

Date 2013-06-28 19:13 -0700
From Patricia Shanahan <pats@acm.org>
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>
Message-ID <e6-dnUVkhedK31PMnZ2dnUVZ_sSdnZ2d@earthlink.com> (permalink)

Show all headers | 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