Results 1 to 2 of 2
Like Tree1Likes
  • 1 Post By SurfMan

Thread: Tab delimited to buffer issue

  1. #1
    nvkuriseti is offline Member
    Join Date
    Jan 2015
    Rep Power

    Question Tab delimited to buffer issue

    Hello Java gurus,

    I am very new to Java/J2EE programming. I need your guidance or suggestions to write few classes as below. Even I do not know what classes that I have to call honestly. So please suggest for further step.

    My team asked me to write few classes for below points
    Java class #1) Read all data from tab delimited file
    Java class #2) Store in a list or Buffer or Hash either
    Java class #3) Get an Input value of Timestamp and compare this timestamp value with Buffer/Hash/List and get second column of value

    From google, I have found only to java #1.

    Thanks for your positive reply in advance.

    - Venkat

  2. #2
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    The Netherlands
    Rep Power

    Default Re: Tab delimited to buffer issue

    I can only assume "your team" is actually your professor and that this is actually an assignment you are having trouble with. No worries, we can help you, there is no need to disguise your problems in a fictional "My team has a project" story.

    So I'll give you a few pointers:
    1) Java - Read CSV with Scanner() - Stack Overflow
    2) java.util.List or java.util.Map. Which one you use depends on what you need to store.
    3) Comparing objects uses the equals() method. Comparing primitives uses ==.

    Nobody is going to barf out all the code you need, so if that is your intention, please vistit If not, you should show the code you're having problems with and a clear description of what it does, what it *should* do and the error messages, if any.
    gimbal2 likes this.
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2 2013

Similar Threads

  1. Replies: 2
    Last Post: 04-01-2011, 04:04 PM
  2. Replies: 3
    Last Post: 09-24-2010, 09:53 PM
  3. Delimited file processing
    By lottalava in forum Advanced Java
    Replies: 7
    Last Post: 06-18-2010, 12:19 AM
  4. Buffer Example help.
    By bert682 in forum Threads and Synchronization
    Replies: 0
    Last Post: 11-27-2009, 10:26 AM
  5. Http Buffer issue... chunked?
    By jlew in forum Networking
    Replies: 1
    Last Post: 11-04-2007, 06:45 PM

Tags for this Thread

Posting Permissions

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