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


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

Re: Newbee List question

From Tim Slattery <tim@risingdove.com>
Newsgroups comp.lang.java.programmer
Subject Re: Newbee List question
Date 2014-01-09 14:12 -0500
Organization A noiseless patient Spider
Message-ID <eustc9h7stgb83bb7e09cb8kp7frlqmn51@4ax.com> (permalink)
References <4bf24581-c504-4225-a584-38b3249e2edc@googlegroups.com> <AoudnX8K7N26NFPPnZ2dnUVZ8uudnZ2d@giganews.com>

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