Java question how to have a Dictionary Object

Discussion in 'Application Development' started by papachan, Mar 2, 2011.

  1. papachan

    papachan New Member
    5

    Jan 25, 2011
    3
    0
    5
    Android Developer
    Bogot
    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? :thinking:

    Thanks

    Dan
     

    Advertisement

  2. papachan

    papachan New Member
    5

    Jan 25, 2011
    3
    0
    5
    Android Developer
    Bogot
    I find it

    Should use a Set Object


    Set s = new HashSet<String>();
     

Share This Page

Loading...