Results 1 to 3 of 3
  1. #1
    jamster0099 is offline Member
    Join Date
    Mar 2014
    Posts
    2
    Rep Power
    0

    Default Paper Referencing Program. NEED HELP PLEASE!!

    Hi there all..

    I am hoping someone on this forum can direct me as to where to go from my current state.

    I have created a program that will take in input of paper names and authors.
    The next step of the program is to make references from paper to paper, and be able to add as well as list those reference, and i am lost as to where to go.

    I currently hold my instances of my paper class (the different papers I have stored) in a hash map. With the title being the key.

    Is there a method as to where I can link keys? Do i need to use a seperate data structure?
    Or maybe add a new attribute to the paper class?
    Im really not sure.
    I have attached the program as a zip file, hopefully someone can spread some knowledge. If you open the zip file then its the methods in the ResearchSupportApp class that I need guidence on.

    Many thanks in advance.
    Attached Files Attached Files

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,949
    Rep Power
    19

    Default Re: Paper Referencing Program. NEED HELP PLEASE!!

    I would go with a database, personally.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,894
    Rep Power
    5

    Default Re: Paper Referencing Program. NEED HELP PLEASE!!

    Ah but the question is not about how to store the data but how to model it as objects.

    "Or maybe add a new attribute to the paper class? "

    Bingo. And I'll bet there can be more than one reference too so that attribute needs to be some form of collection.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Referencing a dictionary
    By DarkD in forum Forum Lobby
    Replies: 1
    Last Post: 03-09-2014, 11:08 PM
  2. Referencing All Parts of an Array
    By Prime624 in forum New To Java
    Replies: 5
    Last Post: 02-09-2013, 04:48 AM
  3. Help with referencing two objects
    By Bluzman in forum New To Java
    Replies: 3
    Last Post: 01-30-2012, 12:32 AM
  4. FileInputStream Referencing (Probably Really Easy)
    By loopsnhoops in forum New To Java
    Replies: 13
    Last Post: 06-01-2011, 09:59 AM
  5. referencing files in .exe
    By minime12358 in forum Advanced Java
    Replies: 7
    Last Post: 07-26-2010, 08:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •