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 5 of 5

Thread: keep track of objects

  1. #1
    Junior Member keep smiling's Avatar
    Join Date
    Oct 2011
    Location
    Italy
    Posts
    14
    My Mood
    Cool
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Arrow keep track of objects

    how to keep track of objects !?

    i think every time the user create an object there should be a counter or something ?!!
    i'm not sure

    how to keep track of objects !?


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: keep track of objects

    This question is a little too vague to answer. What do you mean by "how to keep track of objects"? Do you need a reference to each? Do you just need to count them? Something else? What is the actual problem you're trying to solve?
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Junior Member keep smiling's Avatar
    Join Date
    Oct 2011
    Location
    Italy
    Posts
    14
    My Mood
    Cool
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default Re: keep track of objects

    to count the objects every time i create one

  4. #4
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: keep track of objects

    What have you tried? Where are you stuck? What happened when you tried your counter idea?
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  5. #5
    Junior Member keep smiling's Avatar
    Join Date
    Oct 2011
    Location
    Italy
    Posts
    14
    My Mood
    Cool
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default Re: keep track of objects

    anyway , thanks i got my answer here

    http://www.javaprogrammingforums.com...html#post50370


Similar Threads

  1. keeping track of array taht holds object
    By jack_nutt in forum Java Theory & Questions
    Replies: 1
    Last Post: June 20th, 2011, 11:17 PM
  2. New to Objects...
    By Java Neil in forum What's Wrong With My Code?
    Replies: 17
    Last Post: March 24th, 2011, 07:00 AM
  3. Applying a MIDI instrument change to a Track
    By AnkleSpankle in forum Java Theory & Questions
    Replies: 3
    Last Post: January 23rd, 2011, 03:34 PM
  4. Objects
    By chronoz13 in forum Java Theory & Questions
    Replies: 5
    Last Post: January 20th, 2010, 12:50 PM
  5. Track the user session list
    By kalees in forum Java Servlet
    Replies: 3
    Last Post: October 24th, 2009, 02:34 PM