Java question how to have a Dictionary Object


Last Updated:

  1. papachan

    papachan New Member This Topic's Starter

    Joined:
    Jan 25, 2011
    Messages:
    3
    Likes Received:
    0
    I would like to have a kind of Dictionnary Object. I mean I would like to save rows in a Array Object and block each new row which hold the same key.

    How can i do that in JAVA? :confused:

    Thanks

    Dan
     

    Advertisement
  2. papachan

    papachan New Member This Topic's Starter

    Joined:
    Jan 25, 2011
    Messages:
    3
    Likes Received:
    0
    I find it

    Should use a Set Object


    Set s = new HashSet<String>();
     

Share This Page

Loading...