Search:

Type: Posts; User: Norm

Search: Search took 0.15 seconds.

  1. Thread: Thread Queueing

    by Norm
    Replies
    12
    Views
    1,183

    Re: Thread Queueing

    Did you look up the what the API doc says about that error? The problem is explained there.
    Java Platform SE 7
  2. Thread: Thread Queueing

    by Norm
    Replies
    12
    Views
    1,183

    Re: Thread Queueing

    Please copy the full text of the error message and paste it here. It has important info about the error.

    Did you look up the what the API doc says about that error?
  3. Thread: Thread Queueing

    by Norm
    Replies
    12
    Views
    1,183

    Re: Thread Queueing

    Don't use a new statement. Assign the value of the passed reference to a class instance variable so it is available to the other methods in the class.
  4. Thread: Thread Queueing

    by Norm
    Replies
    12
    Views
    1,183

    Re: Thread Queueing

    Some comments on the code:

    return books.size() == 5;
    Always use the >= test. Or have other code that makes sure the size never goes past 5


    for(int i = 0; i < 0; i++)
    What will that loop...
Results 1 to 4 of 4