Which type of collection is suitable for below scenario?

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?

A HashSet.

Similar Messages

  • Which kind of paper is suitable for printing best quality photo by hp officejet 4500 wireless?

    Hi
    I have a "hp officejet 4500 wireless" printer and want to print best quality photo from my digital camera. Which kind of paper is suitable for my job? Please kindly advice me.
    Best regards,
    Faezeh Dibaei

    The link below will bring you to the HPshopping website for the Officejet 4500 supplies. Click on the "Paper" link at the top of the webpage and it should show you the supported paper types. I would personally asuggest the Advanced photo paper for photo pritning.
    http://shopping2.hp.com/en_US/home-office/-/produc​ts/-/-/CB867A?TargetPage=productsupplies
    Binary_Zen (worked at HP )
    Click the white Kudos star to say thanks
    Please mark Accept As Solution if it solves your problem

  • I'm involved in fashion and would like to know which Adobe program would be suitable for importing images and my company logo to design fabric and send as image to fabric printers? Thanks

    I'm involved in fashion and would like to know which Adobe program would be suitable for importing images and my company logo to design fabric and send as image to fabric printers? Thanks

    Adobe Illustrator.  Your company logo should be a vector file.  Image files can be "Placed" in Illustrator.  Artwork created for printing can be drawn in Illustrator and saved as .ai, .eps, and .pdf files which can be imported into your printer's RIP.  But, check with your print vendors and see what they require.  This does not rule-out Photoshop, however Photoshop can be limited.  So, it would be a good idea to have Photoshop and Illustrator loaded in your workstation with Illustrator being the go-to application.

  • How to define variable for below scenario in report

    Hi,
         iam designing a report in that report  if i enter the user selection was for Fiscal Year/Qtr = 2008/Q3, the data retrieved will be the Fiscal Year/Quarter selection and for the last 20 Launch Year/Quarters based on the Fiscal Year/Quarter i.e. from Launch Year/Qtr 2003/Q4 to 2008/Q3.
         how to acheive this in report. plz help me

    Hi ,
    Need to Use exceptions & conditions for this scenario's  & need to create variable for exceptions based on condtions.
    Below document provides steps how to make selections at run time for a kfg.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60b33a28-dca2-2d10-f3b2-d2096b460b1e?QuickLink=index&overridelayout=true&48842368468641
    Regards,
    Seshu.P

  • Which Adobe product is most suitable for sketches?

    I want to add color, texture and realism to my A4 size paper sketches . Which is the most suitable product for this process?

    Welcome to the forum, Thomas!
    The best application depends in part on what you ultimately want to do with your sketches.
    For example, Adobe Illustrator uses vectors as the building blocks of its files. Vectors can be enlarged a lot and still look crisp and clear:
    On the other hand, Adobe Photoshop mostly uses rasters as the building blocks of its files. If you enlarge a raster file too much, it can look unpleasantly jaggy:
    For more on the difference between vectors and rasters, see the short explanation at http://www.adobe.com/designcenter-archive/keyconcepts/articles/concept_raster.html
    To see how Von Glitschka, a professional artist, combines Photoshop and Illustrator to add texture and color to his sketches, go to http://vector.tutsplus.com/articles/interviews/interview-with-von-glitschka/ and scroll down to the question "You use textures in some of your artworks. I know that creation of raster textures is your passion. Tell us a little bit about the process of their creation and integration into vector artwork?"

  • Which Tool or Class is suitable for Generate Reports?

    i hope to make some reports and chart diagram for my project,
    but i don't know what is suitable class to generate and show report.
    can you tell me some hints??
    thanks!

    Just a small correction, the link should be:
    http://www.object-refinery.com
    Regards,
    Dave Gilbert
    www.object-refinery.com

  • Which type of Apps are recomonded for production implemenation - Auto hosted or Provider hosted ?

    Hello,
    We are building intranet application on office 365 and SharePoint
    online , most of the implementation is using SharePoint auto hosted apps. These
    apps are mostly for branding and deploying customizations.
    We heard that
    Microsoft is recommending provider hosted apps over auto hosted apps, is that
    true ? any specific reason for not using auto hosted apps for “production
    implementations” ?
    I know that auto hosted apps are not allowed in MS
    store and may be since it creates Azure web sites it could be cumbersome (or
    less control) for operations teams to manage. Kindly share any thoughts or
    recommendations.

    Hi,
    To make a decision between the two types of apps, you’ll need to match your goals and requirements to the appropriate hosting pattern.
    The biggest difference of the two types would be the hosting place. As the Provider-hosted app can be hosted on Windows Azure or any remote web platform, you will be responsible
    for creating the installation, upgrade, and uninstallation logic of the remote components.
    For the Auto-hosted app whose remote components are provisioned and deployed for you on Windows Azure, all Windows Azure and Windows Azure SQL Database components are provisioned
    for you when the app is installed. However, the infrastructure is still in preview status, that would be the case you should consider.
    You can take a look at this documentation for more details.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • I would like to know which cooling pad will be suitable for my HP Pavilion 15-E016TX

    please suggest with some compatable colling pads as per my model

    Also if your working on a desktop make sure it is free of clutter so there is proper airflow around your laptop that will do more to keep your laptop running at optimim temperature. Yes it will blow hot air but that is the nature of cooling system for laptop unlike a Desktop/Tower. Always keep the ports/vents where you fans are free of clutter and stuff near it as it performs best that way. Heat remember is the enemy of laptop and blocking the vents/ports will shorten your laptop lifespan faster then it would be otherwise. I use my laptop on desk flat with the feet giving the clearance it needs and it runs fine it does give off heat but that is what you want it to do that means it is working. Now for Gaming laptop that a totally different animal it should be designed for effective cooling and if not that is a bad design and no amount of cooling pad will fix it. So keep all vents/ports on your laptop unblocked this will insure airflow dynamics work in your laptop optimum cooling. Just proping the back up with square erasures will do more then a cooling pad as that will block your latop fan from working properly as well. Now if it was a vented rack that it sits on that is even better that will insure there is plenty of air flow under the laptop to pull the air in and keep the Processor and or Video Processor properly vented.
    I am a Volunteer to help others on here-not a HP employee.
    Replies aren't online 24/7 because of Time Zone differences.
    Remember in this Day and Age of Computing the Internet is Knowledge at your fingertips if you choose understand it. -2015-

  • What type of cabel is suitable for hdmi connection for my 2011 macbook pro 15'

    hi, do u know what type of cable should I buy to connect HDMI cable to my macbook pro 15' 2011? 

    Something like this one that includes audio: http://eshop.macsales.com/item/Newer+Technology/CBLMDPHDMI/

  • Which ipad 2 is more suitable for online classes,16 or 32GB?

    I am currently researching the iPad 2 for purchase. My concern is as to whether or not a 16GB would be enough for me. I am currently a student and my Bachelor's program in completely online. As far as future storage on an iPad, I have an iPhone 4S so I can use iCloud to stream instead of having to add all that onto the iPad itself. I just don't want to buy a 16GB if a 32GB would be a better choice. Please help!! Lol. Thanks!

    When in doubt, purchase more storage than you think you need, if your budget allows. As Bonesaw said, an iPad can't be expanded. And iCloud isn't really storage as an external hard drive would be, it's more backup and sync (you can't work with documents directly from iCloud; they have to be downloaded to your device). So you really still need enough storage on your iPad for your content, even if you do use iCloud.
    Regards.

  • Which type of index is useful for date columns with time stamp

    Hi all,
    I am using date column in the where clause of an SQL Query. The values stored in the date column are includes timestamp. The query is very slow and there is no index on the date column.
    Can any body suggest which index is better on date columns
    Thanks

    I am using date column in the where clause of an SQL Query.Dates a re hard queries to tune. This ...
    WHERE start_date BETWEEN to_date('01-SEP-05') AND to_date('02-SEP-05')...probably requires a very different execution plan to this...
    WHERE start_date BETWEEN to_date('01-JAN-01') AND to_date('02-SEP-05')Just bunging an index on the date column may speed up your specific query but break something else. So be careful.
    Cheers, APC

  • How can I get the solution for below scenario (SD Pricing)?

    Hi SD experts,
    Can anybody provide a solution to match below requirement scenario ? (Retail promotion or condition alone)
    For a Customer :
    1.Buy 1 Product A and 1 Product B --Discount 5%
    2.Buy 2 Product A and 3 Product B --Discount 10%
    Thanks&Regards,
    Don

    Hi,,
    you can go with two options here.
    1. you can either go with a manual condition type
    or
    2. you can have an enhancement in the sales order userexit where you can hard code tha materials and check for quantities and apply the discount which can also be  hard coded in the program it self.
    as a result the system will check the quantities and the corresponding discount will be applied.
    user Exit:  MV45AFZZ
    hope this will solve the problem.
    regards
    ravi.

  • Query for below scenario using analytical  functions

    Hi,
    Below is the data format which I have.
    COL-1     COL-2
    1-Jan-13     5
    2-Jan-13     
    3-Jan-13     
    4-Jan-13     
    5-Jan-13     10
    6-Jan-13     
    7-Jan-13     
    8-Jan-13     
    9-Jan-13     15
    10-Jan-13     
    Expected
    COL-1     COL-2
    1-Jan-13     5
    2-Jan-13     5
    3-Jan-13     5
    4-Jan-13     5
    5-Jan-13     10
    6-Jan-13     10
    7-Jan-13     10
    8-Jan-13     10
    9-Jan-13     15
    10-Jan-13     15;
    Thanks in advance
    Edited by: unique on May 14, 2013 2:23 PM

    unique wrote:
    Hi,
    Below is the data format which I have.
    COL-1     COL-2
    1-Jan-13     5
    2-Jan-13     
    3-Jan-13     
    4-Jan-13     
    5-Jan-13     10
    6-Jan-13     
    7-Jan-13     
    8-Jan-13     
    9-Jan-13     15
    10-Jan-13     
    Expected
    COL-1     COL-2
    1-Jan-13     5
    2-Jan-13     5
    3-Jan-13     5
    4-Jan-13     5
    5-Jan-13     10
    6-Jan-13     10
    7-Jan-13     10
    8-Jan-13     10
    9-Jan-13     15
    10-Jan-13     15;
    Thanks in advance
    Edited by: unique on May 14, 2013 2:23 PMAny rationale behind your output?
    How about you try to explain WHY the output is supposed to be as you ask for.
    I can think of more than 1 way to do this, each of which would be wrong if I make the wrong assumption about what you are actually trying to do.
    Cheers,

  • REQUIRED SOLUTION FOR BELOW SCENARIO

    Hi Friends, I have a requirement as below Source NUM1 123456789 TARGETNUM1,2,3,46,7,8,9.... I WANT TO LOAD FIRST FOUR RECORDS FROM SOUCE INTO SINGLE RECORDS IN TARGET AND SO ON.. PLEASE PROVDE SOLUTION FOR ABOVE SCENARIOTHANKS IN ADVANCE

    Hi All, We are using Informatica 9.5.1 and Oracle 11g as by metadata DB. Initially our INFA_DOMAIN_REPO password was expired, so we couldn't connect to repository. Then we reset the same password and we restarted infa services also. But when we tried to connect repository we faced "Failed to connect repository" error. When i try to connect to Admin Consol, page was not displayed. When we check the node.log file it had a error message saying "2014-07-20 04:45:37,553 ERROR [Monitor Guaranteed Message Logger Thread] [CCM_10322] While logging messages to the Log Service, the following error occurred: [[DOM_10022] The master gateway node for the domain is not available. Electing another master gateway. Wait for the election of the master gateway node to  complete. If the problem persists, verify that the master gateway node is running.]. Fix the errors written to the node.log file. com.informatica.isp.domainservice.exceptions.ISPMasterNotAvailableException: [DOM_10022] The master gateway node for the domain is not available. Electing another master gateway. Wait for the election of the master gateway node to  complete. If the problem persists, verify that the master gateway node is running" We checked all the env variables and all looking fine.Node is also running. Please help to uderstand this issue ans the fix. Thanks in advance Regards,JP

  • Re: REQUIRED SOLUTION FOR BELOW SCENARIO

    Hi Janakiram, Do you have only one field NUM in source and target? Thanks,Deeshan.

    Hi Friends, I have a requirement as below Source NUM1 123456789 TARGETNUM1,2,3,46,7,8,9.... I WANT TO LOAD FIRST FOUR RECORDS FROM SOUCE INTO SINGLE RECORDS IN TARGET AND SO ON.. PLEASE PROVDE SOLUTION FOR ABOVE SCENARIOTHANKS IN ADVANCE

Maybe you are looking for