Search:

Type: Posts; User: Norm

Search: Search took 0.08 seconds.

  1. Re: Trouble with while loop and the use of the Iteration class.

    That will be a good idea. Later when you understand a little more you could use chaining, but it really doesn't save much.
  2. Re: Trouble with while loop and the use of the Iteration class.

    The iterator should work. The problem was the extra call to next() after the Product object with the desired id was found. return the p object with the matching id, don't get another one after the...
  3. Re: Trouble with while loop and the use of the Iteration class.

    Here is what the code is doing. Say its searching for a record with id=2
    read id=1 no match
    read id=2 match
    read id=3 and return this one

    Is that what you want the code to do? Or do you want...
  4. Re: Trouble with while loop and the use of the Iteration class.

    What is the relationship of the items in the list between the Product with the id == searchId
    and the following item in the list that is being returned?
    For example if the item at location x in the...
Results 1 to 4 of 4