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

Thread: Group/Unit, Folder/File?

  1. #1
    Junior Member
    Join Date
    Oct 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Group/Unit, Folder/File?

    Hello, this question has more to do with general program naming.

    I'm developing a program where a list of groups will be recorded. Each group can have several units. This is similar to several files located inside a folder I can have multiple folders (folders can only contain files). This is also similar to cities belonging to a country. No two cities can have the same name in a country but they can reside in different countries.

    If I had to create a structure to keep track of this data, what is a logical generic name for the group and units. I want the name to have more meaning but not be application specific like cities and countries. Just enough to specify something located inside something else.

    Not sure if the question makes sense but hopefully it does. Any suggestions?

    Thank you

    Edit**
    Dammit, wrong location, meant to post in Java Theory. Sorry
    Last edited by rohmoh; October 3rd, 2012 at 05:20 PM.

  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Group/Unit, Folder/File?

    Dammit, wrong location, meant to post in Java Theory
    Thread moved to the appropriate location.

Similar Threads

  1. how to read hybernet.cfg file from dist folder
    By monir_asian in forum JDBC & Databases
    Replies: 0
    Last Post: October 3rd, 2012, 03:30 AM
  2. solaris machine /tmp folder, File.exists() cant see the existing file.
    By aragorn1905 in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: December 27th, 2011, 09:41 AM
  3. Accessing a random text file from within a folder?
    By RaustBD in forum Java Theory & Questions
    Replies: 1
    Last Post: November 29th, 2011, 01:13 PM
  4. Loading a file in a different folder
    By tiemykim in forum What's Wrong With My Code?
    Replies: 2
    Last Post: March 15th, 2010, 08:53 AM
  5. Replies: 8
    Last Post: January 6th, 2010, 09:59 AM