Results 1 to 2 of 2
  1. #1
    cachico12 is offline Member
    Join Date
    May 2011
    Posts
    2
    Rep Power
    0

    Default need help with name histogram

    i need to make a histogram of popular people names....
    so that when i put in the argument "nahdya" it would show how popular oveer the years its been... PLZ HELP

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,541
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by cachico12 View Post
    i need to make a histogram of popular people names....
    so that when i put in the argument "nahdya" it would show how popular oveer the years its been... PLZ HELP
    Use a Map<String, Integer> where the key is the name and the value is the number of times the name was read from somewhere.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. JAI Histogram error
    By deepsri in forum Advanced Java
    Replies: 0
    Last Post: 01-07-2011, 10:06 AM
  2. histogram
    By little_man in forum New To Java
    Replies: 4
    Last Post: 11-13-2010, 01:38 AM
  3. simple histogram
    By heartysnowy in forum New To Java
    Replies: 2
    Last Post: 03-07-2010, 07:34 AM
  4. Regarding the display of histogram
    By Mazharul in forum Java 2D
    Replies: 2
    Last Post: 08-27-2008, 03:09 AM
  5. How to create a Histogram
    By Devilsfutbol17 in forum New To Java
    Replies: 4
    Last Post: 06-04-2008, 09:22 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
  •