Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: What does this mean?

  1. #1
    Member Scotty's Avatar
    Join Date
    Oct 2010
    Posts
    60
    My Mood
    Scared
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default What does this mean?

    My tutor said this as part of help for an assignment:

    Each state needs a visited arraylist.

    Assume a state is say state(string, int);

    How do I do this and what does he mean?

    His notes are useless and everyone is stuck!

    How do I create an arrayList with the same name and attach them to lots of states?

  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,372
    Thanks
    183
    Thanked 836 Times in 779 Posts
    Blog Entries
    5

    Default Re: What does this mean?

    Sorry, but the post makes little sense to me. Define 'state'. Define 'attach'. Define 'arraylist with the same name'.

  3. #3
    Member Scotty's Avatar
    Join Date
    Oct 2010
    Posts
    60
    My Mood
    Scared
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default Re: What does this mean?

    makes little sense to me either, that is why i am confused. i think state is a node (on a map) state(string, int). when each node is reached it needs to get its own arrayList of all the previous nodes visited and store them.

  4. #4
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,372
    Thanks
    183
    Thanked 836 Times in 779 Posts
    Blog Entries
    5

    Default Re: What does this mean?

    I recommend getting some clarification from your tutor. Unfortunately there is little context for us to try and point you in the right direction - but you never know, perhaps another member might be able to shed some light.
    Last edited by copeg; March 20th, 2011 at 11:36 AM.