Need help. Need to store single key for 2 values

Hi,
I need to store 2 value objects with only one key value. How do I do that?

Use an array of length 2 or a class like this:class Pair {
    private Object a;
    private Object b;
    public Pair (Object a, Object b) {
        this.a = a;
        this.b = b;
    public Object getA () {
        return a;
    public Object getB () {
        return b;
}Kind regards,
Levi

Similar Messages

  • Need help retrieving the full license key for Photoshop 7.0 in order to re-install CS3 upgrade.

    Reinstalling a licensed version of Photoshop CS3. It's an upgrade from 7.0 and it's asking for the full key for 7.0. Where can I find that?

    If you did not register with Adobe, this may help.
    How To Recover Your Lost Software Serial Numbers

  • Re:I need help with App store and itunes for Iphone 3G

    When i try to download an app a message appears saying authorization failed. please connect to itunes, also in itunes says no account. I already set up an account. Help i have no clue what to do.

    Is your computer authorized in the Store menu in iTunes?
    If yes, try to deauthorize and authorize again.

  • Need Help To Create a Single  Query For it

    I am Making an Oracle Report
    Which Include 4 Formulae Columns,Each of Them Represent
    1) Qty_inWarehouse(Whose Location_code=1)
    2) Value_inWarehouse(cost_price*qty)
    3) Qty_inlocation(This will Populate Based On Used Entered Value,Means the user will enter a particular Location,Location_code is other than 1)
    4) Value_inlocaiton
    Now All these Values are Coming From Inv_stores Tables.If I use Formula for each Column Then I have to Select This
    Table 4 Times(inv_stores)
    The Structure Of Inv_stores Table is
    location_code Varcha2(3), pk
    Department_Code Varchar2(2), pk
    Product_code Varchar2(15), pk
    Qty_instock Number(6)
    I have Written Query Like This
    In This Query i Have Directly used Location_code as '1' and Another Location as '22' (Which is of One Showroom) and Tried By Testing With Department No.'10'.It is Selecting Cost Price from inv_product Table.
    Now This inv_product is Product MAster Table.Each Product is uniquely identified by Department_code and
    Product_code in this table.
    Now in this Query i Want The Value per department Wise....
    Select A.department_code,Sum(Nvl(A.qty_instock,0) - nvl(A.qty_reserved,0) + nvl(A.qty_delv_retn,0))
    STK_QTY_INLOC,
    Sum((Nvl(A.qty_instock,0) - nvl(A.qty_reserved,0) + nvl(A.qty_delv_retn,0))) STK_VALUE_INLOC,
    SUM(nvl(inv_product.qty_backorder,0)) as Qty_BO,
    Sum(Nvl(B.qty_instock,0) - nvl(B.qty_reserved,0) + nvl(B.qty_delv_retn,0)) STK_QTY_INWH,
    Sum((Nvl(B.qty_instock,0) - nvl(B.qty_reserved,0) + nvl(B.qty_delv_retn,0))*nvl(inv_product.cost_pricekd,0)) STK_VALUE_INWH
    from inv_stores A,inv_product,inv_stores B
    where B.location_code(+) = '1' and
    B.Department_Code(+) = '10' and
    A.department_code = B.department_code(+) and
    A.product_code = B.product_code(+) and
    A.location_code = '22' and
    inv_product.department_code = A.department_code and
    inv_product.product_code = A.product_code
    Group By A.department_code
    But it is Giving Useless Results
    now The 4 Diffrent Queries Which i am Uising is This
    This Will Give me Stock quantity in Location
    Select sum((nvl(qty_instock,0) - nvl(qty_reserved,0)) + nvl(qty_delv_retn,0))
    into var_qty
    from inv_stores
    where department_Code = :department_code and
    location_code = :location_code;
    This will Give me Value For That Location
    Select sum(((nvl(inv_stores.qty_instock,0) - nvl(inv_stores.qty_reserved,0)) +
    nvl(inv_stores.qty_delv_retn,0))*nvl(inv_product.cost_price,0))
    into var_stk_value
    from inv_stores,inv_product
    where inv_stores.department_Code = :department_code and
    inv_stores.location_code = :location_code and
    inv_product.department_code = inv_stores.department_Code and
    inv_product.product_code = inv_stores.product_code;
    This Will Give me Qty in W/H
    Select sum((nvl(qty_instock,0) - nvl(qty_reserved,0)) + nvl(qty_delv_retn,0))
    into var_qty
    from inv_stores
    where department_Code = :department_code and
    location_code = '1';
    This Will Give me Value in W/H
    Select sum(((nvl(inv_stores.qty_instock,0) - nvl(inv_stores.qty_reserved,0)) +
    nvl(inv_stores.qty_delv_retn,0))*nvl(inv_product.cost_price,0))
    into var_stk_value
    from inv_stores,inv_product
    where inv_stores.department_Code = :department_code and
    inv_stores.location_code = '1' and
    inv_product.department_code = inv_stores.department_Code and
    inv_product.product_code = inv_stores.product_code;
    These 4 Queries is Selecting Data from inv_stores Table,I want to Combine Them Into One........
    Suppose if we take for location 22 whose name is 'SHL'(It is s showroom)
    Sample Data Will Be Something Like
    Dept W/H(qty) W/h(Value) SHL(qty) SHL(Value)
    00 3 90 1 30
    10 0 0 2 50
    12 5 100 1 20

    This forum is for issues with the SQL Developer tool. You'd get more response in the SQL And PL/SQL forum (where you cross-posted already).
    Regards,
    K.

  • Need help in activation a license key in CCT. It works as a trial now

    Need help in activation a license key in CCT. It works as a trial now

    1st the sata drive cannot be listed as a slave drive to the ide master [key word=ide-can be configured as master OR slave, master IF only 1 hd, master and slave IF 2 hds], on the sata controler you can have master and slave, the ide cable has two connectors for the hds, sata has only 1 hd connector.
    are you wanting to install the sata as primary master and move the operating sys to that drive, if so you will need an IMAGING software to move an operating system OR you could do a fresh operating system install to the sata drive then install your programs.

  • I need help in finding a free update for my windows 7.5 mobile

    I need help in finding a free update for my mobile 7.5 windows phone
    Message was edited by: chevycamer427

    http://www.windowsphone.com/en-us/store/app/adobe-reader/bc4f319a-9a9a-df11-a490-00237de2d b9e
    [topic moved to Windows Phone subforum]

  • I need help to find the serial number for Photoshop Elements 11

    Hi! I need help to find the serial number for Photoshop Elements 11 I downloaded last year on Apple Application Store.. I have been using photoshop on mac for over a year and now need the serial number to be able to use it on macbook. I looked up Adobe's website for help but found none and noone to ask for support.. Any ideas how I can get the serial number using the App Sore bill I have?

    Please post Photoshop Elements related queries over at
    http://forums.adobe.com/community/photoshop_elements

  • HT1918 Need help. App store won't accept my wal-mart pre pay debit. I owe $8.48. There's $300 on card. When I check card statement it says apple ear marked $8.48.....yet the store won't accept card and says there's a billing issue???? Confused.

    Need help. App store won't accept my wal-mart pre pay debit. I owe $8.48. There's $300 on card. When I check card statement it says apple ear marked $8.48.....yet the store won't accept card and says there's a billing issue???? Confused.

    Hello milkisoo,
    Wow! Purchasing a new computer and monitor should be a fun and exciting experience, and instead, it sounds like it’s turned into a complete nightmare. I can only imagine your disappointment when you found two charges relating to its purchase on your debit card account, and I’m sorry for any aggravation this caused. 
    As I want to provide you some piece of mind, I pulled up your order number using your email address attached to the forum. After review of its payment information, I found we collected only one payment.  However, when orders are first placed on BestBuy.com, a pending authorization should show up on your bank card to make sure funds are available for the order until it is fulfilled. From there, the authorization should drop off and the collection charge should appear.  This is the case for your one charge of $1,051.69.
    It also sounds like an error may have occurred when you initially attempted to place your order,  resulting in one of your gift cards not registering properly and the order not being completed.  Your card’s issuing bank doesn’t appear to have recognized this and pushed through the pending authorization. This occurred a second time when your account information didn’t quite match up with what we had on file. Please know that we haven’t ordered a collection of these funds and your issuing bank should release the two pending authorizations within 5 to 7 business days.
    Thank you for posting.
    Alex|Social Media Specialist | Best Buy® Corporate
     Private Message

  • I need help setting up an apple id for my sons phone. It seems his email address has been taken and/or we cant get the password.

    I need help setting up an apple id for my son's phone. It seems his email address has been taken and/or we cant get the password.

    Two different things
    If you forgot the password
    If you forgot your Apple ID password - Apple Support
    If the email ID you want to use is in use by someone else - then you may need a new one
    The iCloud ID's are usually unique and may be of help if you set one up

  • I need help in activating apple id to for the find my iphone app

    i need help in activating apple id to for the find my iphone app

    What sort of help are you requesting from us, your fellow users? What exactly is the problem/issue?

  • Need help Installing Flash player 10.3 for firefox. It stops at 50%

    So I have Windows Vista Basic Home, I tried updating my Flash version in firefox because it was out of date, but everytime it start downloading it , then I get the a message that says "Error " Appliation in use."  I uninstalled it and followed all the suggestions on the websites nothing is working. I even  uninstall google chrome thinking it was the problem but I'm still having that problem so I really don't know what to do because now the only place Flash player is installed seems to be Google chrome that I had to redoawload, but everywhere else tells me that I need to install it.

    RE-RE-RE REPITO, NO ENTIENDO NADA DE INGLES, PARA ESTE IDIOMA SOY COMPLETAMENTE NULA, POR FAVOR TODOS LOS MENSAJES, NOTAS, ECT., MANDEN EN ESPAÑOL.
    Date: Thu, 29 Sep 2011 15:13:29 -0600
    From: [email protected]
    To: [email protected]
    Subject: Need help Installing Flash player 10.3 for firefox. It stops at 50%
        Re: Need help Installing Flash player 10.3 for firefox. It stops at 50%
        created by Kpiebo in Installing Flash Player - View the full discussion
    I have been at it since yesterday and it's still not working.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/3945878#3945878
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/3945878#3945878. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Installing Flash Player by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Need help activating Adobe Acrobat XI PRO FOR WINDOWS?

    need help activating Adobe Acrobat XI PRO FOR WINDOWS?

    Hi jurleana15722686,
    Are you working with a subscription version or perpetual (where you bought the software outright)? Are you running into a particular problem or receiving an error message when you try to activate?
    For starters, please check out this document: https://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html.
    If you're still having trouble, please let us know what the exact issue is, including any error messages that you're receiving. It would also be helpful to know what version of Windows you're using.
    Best,
    Sara
    [disucssion moved to Downloading, Installing, Setting Up forum]

  • Need help on buying FIREWIRE/USB-compatible for Logic Pro 9.0.2 on my SL

    Hi...Im in needs of help in my new OS Mac World.Had my Logic Pro 9(9.0.2) install in my Snow Leopard(10.6.3).Need help on buying FIREWIRE/USB-compatible for Logic Pro 9.0.2 on my Snow Leopard.Just a real basic audio interface that works with my Macbook pro Specification.You're help will be much more appreciated..
    Best Regards:RatzyMazzy

    In any case I would suggest to get an audio interface which is *Core Audio* compatible. This means that you just need to plug it in and it will work with OS X’s integrated driver. I once had an M-Audio interface which needed its own driver and it had latency problems because of them. I am currently using the EDIROL FA-66 with 10.6.3 on my MacBook Pro. It still works flawlessly and has worked without problems in the past with 10.4 and 10.5, too. Here is how it looks like: http://www.rolandus.com/products/productdetails.php?ProductId=731
    I have also heard good things about the FireWire interfaces from Presonus, like the FireBox.
    Björn

  • HT4623 Hi, I need help on how to update software for my ipad1, can someone help me?

    Hi, I need help on how to update software for my ipad1, can someone help me?

    The iPad 1 can not be upgraded beyond 5.1.1. If you haven't upgraded to iOS 5.1.1, see the info below.
    If your iDevice is using a version of iOS lower than 5, you will need to use iTunes on your syncing computer to perform the upgrade. Use the Apple link below as a guide for the upgrade.
    http://support.apple.com/kb/HT4972
    Also read the instructions from the section entitled "Update your device using iTunes" at the link below.
    http://support.apple.com/kb/HT4623
    Information regarding transferring purchases from your iDevice to iTunes on your syncing computer can be found at the link below.
    http://support.apple.com/kb/ht1848

  • Need help startng websphere server in eclipse for debugging porpose

    I am using Eclipse Sdk Version: 3.1.2
    IBM websphere 6.0
    JDK 1.4
    I set debug value to "true" in my application.xml
    I have a .ear file of my application deployed on the websphere appserver. Currently I can test my application in nobebug mode.
    values of environment variables are -
    JAVA_HOME - C:\DEV\IBMJDK142; C:\Program Files\Java\jre1.6.0_03
    PATH - C:\DEV\IBMJDK142\bin; C:\Program Files\IBM\WebSphere MQ\Java\lib;C:\DEV\IBMJDK142\bin;%SystemRoot%\system32;%SystemRoot%;
    I want to test the application in debug mode.
    I am using default server on websphere, which is server1.
    In Admin-console of webshere I went to
    server-->Application server-->choose server1-->Debugging Service ---->checked the checkbox "Enable service at server startup"
    Here value of my JVM debug port is 7777.
    next In Eclipse env I chose Run---->Debug....--->Remote Java Application ----> created a new application with the name of my application and set the connection properties to -
    Host - localhost
    port-7777
    Eclipse----> Windows----->Preferences---->Server----->Installed Runtime---->Add---->selected values such as -
    JRE - default JRE(JDK 1.4)
    IBM Websphere Installation Directory - C:/DEV/WebSphere/AppServer
    saved it.
    Now in debug perspective, I created a new server with selection/values such as -
    IBM--->IBM Websphere v6---->
    port - 9081
    server profile directory - C:/DEV/WebSphere/AppServer/profiles/default
    cell - GCWSNTRANode01Cell
    node - GCWSNTRANode01
    server - server1
    Next---->Added the project to configured project ----->FINISH
    Closed Eclipse to save env settings.
    Started the default server (server1)
    opened eclipse - desired project--->debug perspective ---->choose server--->Right Click----Start/Debug
    mesg "Starting ServerI BM Websphere 6 - IBM Websphere 6 failed to start"
    can some one please tell me what I am missing here.

    Need help startng websphere server in eclipse for debugging porpose
    can some one please tell me what I am missing here. Well for one, you're trying to debug a dolphin
    Edited by: redfalconf35 on Jun 19, 2008 4:50 PM

Maybe you are looking for

  • Error while applying patch no 9239089

    Hello, We are applying patch no 9239089 to EBS version 12.1.1 on WIndows 2003 R2 environment. While applying the patch on the application user we are getting the following error (adrelink.log) Starting link of product 'ad' on Wed May 22 16:23:16 IST

  • How to convert VARCHAR to SMALLINT using DB2?

    Hi, guys: I am trying to do some comparison in my sql code: A.mySmallInt = B.mySmallIntAsString Unfortunately, mySmallInt is stored as 1, 2, 3, ..... while mySmallIntAsString is stored as '1', '2', '3'...... I am wondering if there is a DB2 function

  • I phone not recognising my itunes match subscription

    Hi. Have subscribed to itunes match but when (in Settings) i try to turn it on I keep getting a pop uo box that says I am not currently subscribed and must sunscribe via my PC??

  • LEdger selection in document Entry screen

    Hi, I have activated multiple ledgers, now in the entry screen I want to select the non Leading ledger for posting.I'm not able to select ledger in the document entry screen. PL. tell me how to activate this field in the entry screen. doing this on E

  • Pictures look slightly different in Photoshop CC compared to windows Photoviewer (lighter)

    Hi there, I purchased PS CC last week, before I worked with PS CS3. From the moment I started using CC I noticed that my photos look slightly different in Photoshop CC compared to windows Photoviewer or in PS CS3. They look slightly lighter, which ma