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: File Structures and Format

  1. #1
    Member
    Join Date
    Feb 2013
    Posts
    78
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default File Structures and Format

    Hey guys. So I am working on a project and I need a FAST data structure to save/load TONS of data. As far as saving to files, it doesn't have to be human readable. I am wondering if anyone has any recommendations for me. I would LIKE to write it myself but if that's not possible, its not a huge deal. As far as the kind of data im storing, it is just integers, floats, doubles, etc.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: File Structures and Format

    Using RandomAccessFile will give you control over where you read and write.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Member
    Join Date
    Feb 2013
    Posts
    78
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: File Structures and Format

    I forgot to mention that I want it to be similar to a HashMap or something like that - keys and values...

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: File Structures and Format

    Then you'll need to do some design work.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Help me out with code for uploading saved file in perticular format
    By sweet_guy5914 in forum Java Theory & Questions
    Replies: 1
    Last Post: September 18th, 2012, 06:30 PM
  2. Format difference in System.out Vs. file output
    By mwr76 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: September 10th, 2011, 09:13 PM
  3. Downloading the file in Lotus Symphony spreadsheet format (ods)
    By chinnu in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: March 13th, 2011, 02:47 AM
  4. Saving an image file (PGM format)
    By Mickey2315 in forum Algorithms & Recursion
    Replies: 3
    Last Post: September 12th, 2009, 01:18 AM
  5. Replies: 2
    Last Post: June 26th, 2009, 11:08 AM