1 Reply Latest reply: Aug 26, 2013 7:55 PM by EJP RSS

    which type of collection is suitable for below scenario?

    shivasha

      which type of collection is suitable for below scenario?

       

      A) session.getAttibute("userPref",dad_re);

      possible values inside session are rad_eu,tcd_nid,aa,iod_po

       

      B)Need to compare with below set of values .

       

      dad_re

      rad_eu

      aad_vv

      bbd_rt

      ccd_ff

       

      If matched

      sysout("Matched values"+rad_eu)

      else

        sysout("Non matching with B"+tcd_ni)

       

      A - will contain only one value for each time and it is superset

      Which collection will use to store B?