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


Groups > comp.lang.java.programmer > #27265

Re: Newbee List question

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Tim Slattery <tim@risingdove.com>
Newsgroups comp.lang.java.programmer
Subject Re: Newbee List question
Date Thu, 09 Jan 2014 14:12:29 -0500
Organization A noiseless patient Spider
Lines 19
Message-ID <eustc9h7stgb83bb7e09cb8kp7frlqmn51@4ax.com> (permalink)
References <4bf24581-c504-4225-a584-38b3249e2edc@googlegroups.com> <AoudnX8K7N26NFPPnZ2dnUVZ8uudnZ2d@giganews.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Injection-Info mx05.eternal-september.org; posting-host="ebada503900cbbf41f1045781f99b753"; logging-data="30439"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+WpkY03IWCrW+8KQKM9l0NB/lsOwUIsYg="
User-Agent ForteAgent/7.10.32.1214
Cancel-Lock sha1:BkZF7Shn8CODaXRYLDAvjdzPF4k=
Xref csiph.com comp.lang.java.programmer:27265

Show key headers only | View raw


leif.roar@invalid.com (Leif Roar Moldskred) wrote:


>What this code does is to create 20 instances of TestClass(), _batch
>them together_ according to some condition, and then store the batches
>in the list /groups/.

How do you figure? It may have been the programmer's intention to
store the TestClass instances in the current "group", but that's not
in the code. TestClass instances are created, then thrown away.

>Setting the flag indicates that the next turn through the loop is
>the start of a new batch.

Again, that may have been the intent, but I don't see it happening.

-- 
Tim Slattery
tim <at> risingdove <dot> com

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Newbee List question Todor Atanasov <xumepoc@gmail.com> - 2014-01-09 04:16 -0800
  Re: Newbee List question Joerg Meier <joergmmeier@arcor.de> - 2014-01-09 13:38 +0100
  Re: Newbee List question leif.roar@invalid.com (Leif Roar Moldskred) - 2014-01-09 07:50 -0600
    Re: Newbee List question Tim Slattery <tim@risingdove.com> - 2014-01-09 14:12 -0500
      Re: Newbee List question leif.roar@invalid.com (Leif Roar Moldskred) - 2014-01-09 14:41 -0600
  Re: Newbee List question Todor Atanasov <xumepoc@gmail.com> - 2014-01-09 06:52 -0800
  Re: Newbee List question Roedy Green <see_website@mindprod.com.invalid> - 2014-02-03 19:36 -0800
  Re: Newbee List question Roedy Green <see_website@mindprod.com.invalid> - 2014-02-03 19:39 -0800

csiph-web