Any quick way of finding the wrapper type for arbitrary primitives?

does anyone know a way of obtaining the equivalent wrapper class for any primitive type? eg, if I have a reference to long.class, is there a way of resolving this to Long.class, other than maintaining a Map<Class, Class> myself?

Last time I had to do this I was using 1.4. I couldn't find an easier way of doing it other than using a map.
AFAIK nothing has come along in java 5 which makes this any easier - but then I dont know very much so don't take my word for it.
~D

Similar Messages

  • Need  to find the class type for a material

    Hi all,
    i need to find the class type for the material.
    is there any FM or the table where i have both MATNR and KLART fileds.
    Kindly reply asap.
    Thanks
    Sri

    Hi,
    There can be multiple class types assigned to a material. You can view this in the classification tab in the material master transaction.
    You can pass the MATNR to OBJEK field of KSSK table after using neccessary converison Exit to get KLART(Class Type). It will return you a 3 digit Class type. You can find the description of the class from the class type master table TCLA.
    Hope this helps.
    Edited by: Priyabrata Samanta on Feb 11, 2008 11:43 PM

  • How to find the message type for application

    Hi Guys,
    while postnig the data through idocs,we use message types
    the issue is how can we find the massage type for application?
    plzz help

    You can find these in transaction WE82.
    You can find in WE57, this basis type, which fm is attached (BAPI_IDOC_INPUT1).
    Then check out transactions WE41 and WE42.
    You can use the table EDIMSG, in SE16 to list all the msg types making use of the same IDoc.
    or
    If you want to get all the message types, you can use WE81.
    If you want to see which message types are attched to a particular Idoc type, use WE82
    check it in BD60 and WE57..

  • Could not find the artifact type for property kind

    Team Foundation Server 2013 Update4  on Win Server 2008 R2, this message has suddenly started appearing.
    Team foundation error: Could not find the artifact type for property kind '77951f77-f29d-4a9b-8311-1b13e4b89c42'. The property kind was not properly defined.
    Last update installed was Update 4 on 17 Dec 2014, and at the time of install, everything was working well. I've re-applied update 4 in the hope it would resolve it, but the same error appears when I open the TFS console. Please help!
    Programming today is a race between software engineers striving to build bigger and better idiot- proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

    Hi Stunt, 
    Thanks for your post. 
    And thank you for sharing your experience here. It will be very beneficial for other community members having the similar questions.
    All your participation and support are very important to build such harmonious/ pleasant / learning environment for MSDN community.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Hoe to find the Application type for  Script?

    Hi Guys,
                 Can antbody tell me how to find the Application type for a Form.?I was given a req with form name ZINVENT.He asked to make some changes to the exisitng form.
                the form is for Displaying Physical Inventory Documents.table is IKPF and ISEG.
                 I was not able to see in NACE tr Code becoz i dont know the Application.and i dont know the print program also,But he gave me the name of the program as RM071DRU, which i was not able to find the SE38 tr code
              So anybody can plz tell me what's the Application and print program?How can we find in NACE tr code?
    Thanks,
    Gopi.

    Hi Gopi,
    U can check the application type ME or M1 in NACE transaction.
    If not check the program name given to u in TNAPR table..where in u can find the application type and output type...
    Reward if useful..
    Venkat

  • HT1391 Is there a way to find the serial number for a devise from ITunes? I need it to try and track it as it was stolen

    Is there a way to find the serial number for a devise from Itunes? I need the number for a device that was stolen.

    How to find serial number

  • Item delete - Any quick ways of removing the found constraints errors

    All
    On 12.1.3 and looking for advice for people who have done the Item Delete and have found a quick way to remove the rows in the tables that the constraints find?
    I have 195 items with an avg errors equaling 11 which comes out to 2,145 errors that need to be fixed.  Looking to see if anyone has come up with a quick way to remove the items, .....
    and the resulting errors
    thanks

    hello sir,
    i want to your help
    i was installed fresh windows 7 via cd rom and then after installed all software.
    and now after 1 day customer complained me that cd rom not read any cd and i m also check when i insurt cd so its not read and when i am double click on cd rom icon its eject so what i do for that please reply on my email address.
    [text removed for privacy]
    VIMAL

  • Is there a way to change the output type for Email Remittance Program?

    Hello,
    We are trying to implement Separate Remittance Program.The seeded output type is PDF( I have checked the output type for send separate remittance concurrent program) however the
    email which we receive looks like a regular email I mean with a normal text .  Is there a way to get the output in different type like excel,attachment,pdf.
    Any inputs would be highly appreciated.
    Thanks,
    Sushma

    Currently there is a bug raised
    Bug 8208646 : R12 UNABLE TO SEND SEPARATE REMITTANCE ADVICE AS EMAIL ATTACHMENT IN PDF.
    If you want to customize this process you need to create data definition,new rtf template and bursting program to send pdf as attachment.

  • Is there a way to find the Time Duration for applying a Patch?

    Dear Legends,
    Is there a way to find the Installation or Applying time can be gauged for a PATCH, so that it will be useful to provide the DOWNTIME of the server.
    Thanks in Advance
    Regards,
    Karthik singh

    karthiksingh_dba wrote:
    Dear Legends,
    Is there a way to find the Installation or Applying time can be gauged for a PATCH, so that it will be useful to provide the DOWNTIME of the server.
    Thanks in Advance
    Regards,
    Karthik singhNot until you test the patch and install it yourself on one of the instances. Once you apply the patch, you can check the patch log file or the patch analysis report or AD_BUGS table.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Patch+AND+Analysis+AND+Report&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    You can run the patch with apply=n but this will let you to test the patch before applying it only.
    http://docs.oracle.com/cd/E18727_01/doc.121/e12148/T531058T531065.htm#adptpptpbai
    http://docs.oracle.com/cd/E18727_01/doc.121/e12148/T531058T531062.htm#adptpaucla
    Thanks,
    Hussein

  • How to find the application type fora Script based on Form name?

    Hi Guys,
                can anybody tell me how to find the Application Type and output type based on Form name and print program name?
    I am having form name as: ZINVENT (INVENT is the actual) and program name as RM07IDRU.How can i find the Appliction ntype and OutType for entering into the NACE tr code.
                    i tried thru TNAPR table but i was not able to find the Entry in the TNAPR with form Name and printprogram name
                   Th Script is about Phsical inventory Documents.
    Thanks,
    Gopi.

    You can use this...
    REPORT  Z_DUMMY_ATG NO STANDARD PAGE HEADING.
    *======================================================================
    * Tablas
    *======================================================================
    TABLES: TTXFP.
    *======================================================================
    * Tablas Internas
    *======================================================================
    DATA: T_TTXFP TYPE STANDARD TABLE OF TTXFP WITH HEADER LINE.
    *======================================================================
    * Selection-Screen
    *======================================================================
    SELECTION-SCREEN BEGIN OF BLOCK SCRIPT WITH FRAME.
    SELECT-OPTIONS:
                  PRINTNAM FOR TTXFP-PRINT_NAME,
                  TDFORM   FOR TTXFP-TDFORM.
    SELECTION-SCREEN END OF BLOCK SCRIPT.
    *======================================================================
    * Start-of-selection
    *======================================================================
    START-OF-SELECTION.
      PERFORM SELECT_DATA.
      PERFORM PRINT_DATA.
    *&      Form  SELECT_DATA
    *       Seleccionamos los datos del reporte.
    FORM SELECT_DATA.
      SELECT TDFORM PRINT_NAME LAST_PROG
      INTO TABLE T_TTXFP
      FROM TTXFP
      WHERE PRINT_NAME IN PRINTNAM
        AND TDFORM IN TDFORM
      ORDER BY TDFORM.
    ENDFORM.                    "SELECT_DATA
    *&      Form  PRINT_DATA
    *       Imprimimos el resultado del reporte.
    FORM PRINT_DATA.
      FORMAT COLOR 3.
      WRITE: 'Programa', 18 'Formulario', 50 'Flag de Ultimo programa'.
      FORMAT COLOR OFF.
      SKIP 1.
      IF NOT T_TTXFP[] IS INITIAL.
      SORT T_TTXFP BY PRINT_NAME.
        LOOP AT T_TTXFP.
          IF T_TTXFP-LAST_PROG EQ 'X'.
          FORMAT COLOR 4.
          WRITE:/ T_TTXFP-PRINT_NAME, 18 T_TTXFP-TDFORM, 60 T_TTXFP-LAST_PROG.
          FORMAT COLOR OFF.
          ELSE.
          WRITE:/ T_TTXFP-PRINT_NAME, 18 T_TTXFP-TDFORM, 60 T_TTXFP-LAST_PROG.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "PRINT_DATA
    Greetings,
    Blag.

  • Any quick way of deleting the "sticky" I and O points in Events?

    The sticky In and Out points in Events can be useful but there are times I would lke to remove them.
    Is there a quick way other than by grabbing each point and dragging it to the start or end of the clip?

    Ian R. Brown wrote:
    …  Why can't FCP X have the best of all NLE's bunged into it, …
    imho, it does
    I'm teaching for quite a while a musician how to use FCPX.
    He's biased by Pinnacle too and extremely impatient:
    "Explain me the basics later - how do I accomplish the following effect: …???"
    He com-ple-te-ly misses the advantages of that new, different GUI!
    (e.g. he's still thinking in/using  'tracks', and is shy off secondary storyline. compound clips, multicam etc)
    I well remember when being confronted with the new paradigms 5y ago (iMovie08) - it was in my opinion a complete weird interface.
    meanwhile, although just hobby usage, I'm 'flying' thru projects
    and the new vers.06, allowing to set multiple selections in a clip, will optimize my editing-process again by factor 500% (I just have to teach me the new keyboard shortcuts).
    ... shortcuts + MagicTrackpad = awesome!
    Ian R. Brown wrote:
    … some of Pinnacle's marvellous eye-candy  …
    for example?
    (please, don't tell me Dancing-Comic Sans-Title-in-Rainbow-Colors!) 

  • From which table field could we find the 'material type' of delivery items.

    Hi,
    Please kindly advise from which table field could we find the 'material type' for one delivery items??
    Thank you.

    Hi,
    You cant get the material type directly from delivery item. Pls make a joint between LIPS and MARA tables to get the same.
    In LIPS, get the material numbers of the delivery document.
    Give them in MARA to get their material types

  • Quicker way to see errors in WPER for Idoc WPUBON

    Hello Experts -
    I have around 20 big WPUBON idocs in which I have to fix UPCs and reprocess them. When I load the IDoc thru WPER, it takes forever to load because WPUBON has receipt level data.
    What I want to know from all you SAP Gurus, is there any quick way to see the errors and fix them (any report or any other way to do the analysis)
    Thanks
    MG

    Hi MG,
    maybe it helps only to select the IDocs with Status "Error" in WPER (refer to field "Status" in "Inbound" in WPER) to fasten the processing?
    Other possibilities maybe are BD87 (also, only try to select the IDocs processed with error) or try transaction WLF_IDOC - maybe these suit better to your needs.
    Regards
    Tobias

  • How to find the data flow for a given module.

    Hi ,
    Is there a way to find the data flow for a given module(Example AR,AP,......).
    I mean are there any predefined document other than user guides that explains with data flow diagrams(including the tables involved).
    Any help would be greatly appreciated.
    Thanks & Regards,
    Naveen.

    No such public document available from Oracle unless from Oracle Education.
    for some specific operation you can check Process tab inside Oracle Application which shows the data flow as part for workflow process.
    Regards
    Prashant Pathak

  • How can I find the previous position for my iPhone?

    It's more then 24 hours since I lost my iPhone, and it seems like it's turned off/don't have more battery left. Is there any possible way to find the previous position of it, when it's more then 24 hours ago?? Please help me, desperate to find my phone, and to know where it was last seen would help me alot.

    Welcome to the Apple Community.
    Unless your phone connects to a cellular or wifi network while still using your iCloud account, it won't show it's location in Find my phone.

Maybe you are looking for

  • Calling a service through the EJB results in java.rmi.UnmarshalException

    I have created a service on WLAI that does a simple query against a table (inventory count by product ID). I have also created a command line class to call this service, provide the correct XML schema input, and wait for a returning XML response. The

  • Error message when connecting PC Suite via Bluetoo...

    Using: Nokia 6500 Slide PC Suite 6.85.14.1 Bluetooth dongle: MSI Star Key 2.0 V2 Vista Ultimate Tried while using the BlueSoleil stack (on install disk) and also tried the Vista Microsoft stack. Phone pairs with no problem. Once PC Suite has paired i

  • Using IMAQ Find Edge and/or IMAQ Find Straight Edges 3 In order to return tip coordinates of a needle

    I know that there are functionalities in the two aforementioned functions that allow for start and end points to be found and output after a straight line is found in an ROI. My problem is that these start and end points are with respect to the ROI,

  • RCU error

    Hey, trying to run Repository Creation Utililty, but got the following error as soon as i start to run ./rcu. SO: Enterprise Linux 2.6.18-8.el5 any ideas? Thanks, Pedro Ribeiro [oracle@oel5-vm bin]$ ./rcu Exception in thread "AWT-EventQueue-0" java.l

  • Earbuds= too big for my ears

    i just got a nano for christmas and would love to use it at the gym when i work out... only problem: the earbuds aren't even close to fitting in my ears. any suggestions?