How to look into a method?

Hello all:
I am wondering if there is a way to look into a method simply by its name? As we all know, we can get the detail description of most of the classes in JAVA by browsing online documentation:
- API & Language Documentation
- Java 2 Platform API Specification .
On the page, there is a left frame listing class names in alphebetical order. By clicking on a particular class name, we can get the description of that class on right frame.
It's very convenient.
Therefore, I want to know if there is a way to get the description of methods in the same manner as classes. Is there a webpage which lists most of the methods in JAVA language and its descriptions? So that we can check the detail of a method without knowing which class it belongs to. I think it should be very useful. Because there are times we see a new method name and unfortunately we don't know which class it belongs to. Thus, it is a bit difficult to check the detail of that method because we don't know its class name.
That is why I am looking for a way to check the detail of a method in the same manner as a class.

Thanks to you all:
Yes, I find the index and it works. However, I am just not smart enough to find that search link. Mwstein, can you point to me where can I find that search link? Thanks again for your replies.

Similar Messages

  • How to look into all fields (beginner question)

    Hello,
    I have a table which contains a series of columns like
    'GRPREF00', 'GRPREF01', 'GRPREF02', ... 'GRPREF19'.
    If I want to know whether the number 34 is in one of these columns, I use the following command:
    Select * from <table_name> where 34 in ('GRPREF00', 'GRPREF01', 'GRPREF02', ... 'GRPREF19');
    Obviously I cannot use the "..." and I am writing all the time the whole series of columns.
    In order to shorten this command, I have already tried teh following command:
    Select * from <table_name> where 34 in (*);
    but this didn't work.
    Does anybody know whether/how it is possible to define a range of columns to look in or whether/how it is possible to search through all the columns of a table?
    Thanks
    Dominique

    Hello
    That was really the gist of the original question. It was to find out if any columns contain 34 rather than any columns named 34. Just as a side note, your query would return 0 rows unless the column name was surrounded by double quotes when it was created:
    CREATE TABLE dt_test_col (34 varchar2(10))
    CREATE TABLE dt_test_col ("34" varchar2(10))
    SELECT COUNT(1) counter
    FROM user_tab_columns
    WHERE column_name='34'
    AND table_name= 'DT_TEST_COL' ;Another option, which is similar to one of the methods the OP tried is:
    WITH test_data AS
    (     SELECT
              CAST(NULL AS VARCHAR2(2)) AS col1,
              CAST(NULL AS VARCHAR2(2)) AS col2,
              CAST(NULL AS VARCHAR2(2)) AS col3,
              CAST(NULL AS VARCHAR2(2)) AS col4,
              CAST(NULL AS VARCHAR2(2)) AS col5,
              '34' AS col6,
              CAST(NULL AS VARCHAR2(2)) AS col7,
              CAST(NULL AS VARCHAR2(2)) AS col8,
              CAST(NULL AS VARCHAR2(2)) AS col9,
              CAST(NULL AS VARCHAR2(2)) AS col10
         FROM
              dual
    SELECT
    FROM
         test_data
    WHERE
         '34' IN (col1,col2,col3,col4,col5,col6,col7,col8,col9,col10)
    This does mean that you have to list all of the columns you want to check in the in statement, but the tradeoff is that you don't end up having to write dynamic sql.
    The IN statement will likely be transformed by the optimizer into:
    Predicate Information (identified by operation id):
       3 - filter("TEST_DATA"."COL1"='34' OR "TEST_DATA"."COL2"='34' OR
                  "TEST_DATA"."COL3"='34' OR "TEST_DATA"."COL4"='34' OR "TEST_DATA"."COL5"='34' OR
                  "TEST_DATA"."COL6"='34' OR "TEST_DATA"."COL7"='34' OR "TEST_DATA"."COL8"='34' OR
                  "TEST_DATA"."COL9"='34' OR "TEST_DATA"."COL10"='34')Which saves you even more typing! :-)
    HTH
    David

  • We had a contaminated email and now we cannot send emails . our service provider thinks problem in 'mail' settings but did not want to get into that area. Can you advise how we look into this

    we had a contaminated email and now we cannot send emails.  Our service provider advises that 'Mail' settings may be compromised.  but were not willing to get into resetting.   How can this be fixed ?

    jenfromwa wrote:
    we had a contaminated email and now we cannot send emails.
    Not exactly sure what you mean by contaminated, but there is currently no known e-mail that could impact the Apple Mail application as you have described.
    Without knowing who your e-mail provider is and what type of account (IMAP or POP3) we can't advise you as to what those settings might be.
    One way to fix it would be to delete the account from Apple Mail Preferences->Accounts and add it back.

  • How to call a java method so I can pass a file into the method

    I want to pass a file into a java method method from the main method. Can anyone give me some help as to how I pass the file into the method - do I pass the file name ? are there any special points I need to put in the methods signature etc ?
    FileReader file = new FileReader("Scores");
    BufferedReader infile = new BufferedReader(file);
    Where am I supposed to put the above text - in the main method or the one I want to pass the file into to?
    Thanks

    It's a matter of personal preference really. I would encapsulate all of the file-parsing logic in a separate class that implements an interface so that if in the future you want to start taking the integers from another source, e.g. a db, you wouldn't need to drastically alter your main application code. Probably something like this, (with an assumption that the numbers are delimited by a comma and a realisation that my file-handling routine sucks):
    public class MyApp{
    public static void main(String[] args){
    IntegerGather g = new FileIntegerGatherer();
    Integer[] result = g.getIntegers(args[0]);
    public interface IntegerGatherer{
    public Integer[] getIntegers(String location);
    import java.io.*;
    public class FileIntegerGatherer implements IntegerGatherer{
    public Integer[] getIntegers(String location){
    FileInputStream fs=null;
    try{
    File f = new File(location);
    fs = new FileInputStream(f);
    byte[] in = new byte[1024];
    StringBuffer sb = new StringBuffer();
    while((fs.read(in))!=-1){
    sb.append(new String(in));
    StringTokenizer st = new StringTokenizer(sb.toString(),",");
    Integer[] result = new Integer[st.countTokens()];
    int count = 0;
    while(st.hasMoreTokens()){
    result[count]=Integer.valueOf(st.nextToken());
    count++;
    catch(IOException e){
    //something sensible here
    finally{
    if(fs!=null){
    try{
    fs.close();
    catch(IOException f){
    return result;
    Once compiled you could invoke it as java MyApp c:\myInts.txt
    Sorry if there are typos in there, I don't have an ide open ;->

  • My 12" powerbook logics card crashed. I have a 17". How do i retrieve my internet bookmarks from the 12" by putting it into Target mode on the 12" and looking into the hard drive on the 12"?

    My 12" powerbook logics card crashed. I have a 17". How do I retrieve my internet bookmarks from the 12" by putting it into Target mode on the 12" and looking into the hard drive on the 12"? Where on the 12" hard drive do I go to search for them?

    If the 12's logic board is trashed, I don't think you can get into FireWire Target Disk Mode. The computer has to start to get to FWTDM. Will it starte and run at all?
    If it won;t start, you will have to go inside and extract the hard drive. Then get this gadget:
    Newer Technology Universal Drive Adapter USB 3.0/2.0 - connects any 2.5", 3.5" or 5.25" drive
    It allows you to connect a bare drive to another computer that has USB. It will act just like an external disk drive. Assuming the 12's drive is not damaged due to the LB failure, you can retrieve files quickly.

  • I am looking into Buying Retail a New Blackberry Q10. Doing this to avoid having to Give up my old Data Plan. Have read that when you activate a new Phone it forces you to pick a new Plan. Is this True? and How to I avoid this? 20 Year Verizon Client

    I am looking into Buying Retail a New Blackberry Q10. Doing this to avoid having to Give up my old Data Plan. Have read that when you activate a new Phone it forces you to pick a new Plan. Is this True? and How to I avoid this? Any other advise in this matter would be greatly appreciated.
    20 Year Plus Verizon Client

    The only "unlimited" plan I can think of where this would not apply is the old Connect plan for multimedia/basic phones.  That unlimited data, on devices such as the LG Voyager, EnvTouch, and other "multimedia" devices is  not the same.
    If you currently have an individual $29.99 unlimited data plan with a 3G Smartphone, then you can buy a BBQ10 retail and activate it with the same data plan and keep the unlimited.

  • How do u pass an object into a method

    I want to create a method getData that takes an object of type Helper and returns an object of the same type.
    how do u pass objects into a method and how do u get objects as returns im a bit confused

    That will just allow you to pass a parameter. If you want to return a helper object
    Helper paramHelper = new Helper();
    Helper someHelper = callMethod(paramHelper);
    public Helper callMethod(Helper hobj) {
        //<some code>
        Helper retHelper = new Helper();
        //<blah, blah>
        return retHelper;

  • Hey, my first question is that if I need to be connected to iCloud on my phone for my Imessages to work on my Mac? And my second question is if someone is looking into my Imessages on my Mac, how can I disconnect it from my phone right away?

    Hey, my first question is that do I need to be connected to iCloud on my phone for my Imessages to work on my Mac?
    And my second question is if someone is looking into my Imessages on my Mac, how can I disconnect it from my phone right away?

    you will need to do a hard wipe or remember the password hard wipe can be found on youtube how to. but this will erase all data

  • I'm looking into how apps use the cloud. Would you consider any app with social media access as uploading information to the cloud? e.g. being able to tweet through an app is the same as uploading data to the cloud

    I'm looking into how apps use the cloud. Would you consider any app with social media access as uploading information to the cloud? e.g. being able to tweet through an app is the same as uploading data to the cloud

    Most of us in this forum are users who volunteer on technical issues, and not Adobe employees although they do drop in from time to time. As users we simply have no control over activation and that's why you are not getting responses.
    If you havn't done so,you might try the Muse forums and see if you can get a staff member to look into it. Have your case numbers and phone transcripts handy.
    Last option is to keep calling customer service until you get someone who will help or ask for a supervisor.
    Hope this get resolved,
    Gene

  • I don't have an Apple device, so how can I take a look into the iBookstore from my ordinary Dell laptop to find my book?

    I don't have an Apple device, so how can I take a look into the iBookstore to find my book?

    You can access the bookstore via iTunes on your Dell.

  • How to check a single method is overriden in how many subclasses in ABAP.

    Hi Experts,
    I have a global superclass which had benn inherited by many other global subclasses. Is there any way to find out quickly (may be in a table ) in how many subclasses a particular method of the superclass is overriden?

    Hi Manuish,
    You can use the class CL_OO_CLASS to achieve the above, below is a sample code.
    DATA: lcl_oo_class TYPE REF TO cl_oo_class,
          lw_seoredef  TYPE seoredef.
    TRY.
        CREATE OBJECT lcl_oo_class
          EXPORTING
            clsname = 'Y_TEST_CHEN_CLASS_SUB1'.
      CATCH cx_class_not_existent .
    ENDTRY.
    WRITE: 'Class', '                              ', 'Refclass', '                         ', 'Over written method', /.
    LOOP AT lcl_oo_class->redefinitions INTO lw_seoredef.
      WRITE: lw_seoredef-clsname,'         ',
             lw_seoredef-refclsname,'         ',
             lw_seoredef-mtdname,'         ', /.
    ENDLOOP.
    Alternatively you can look up the table "SEOREDEF" directly.
    Regards,
    Chen
    Edited by: Chen K V on May 4, 2011 12:37 PM

  • QM Module - How to get the Inspection Method & Characteristic value(Urgent)

    Hi All,
        I have inspection lot number (PRUEFLOS), batch number 
       (CHARGE), plant (WERK) & material number
       (MATNR) , using these fields how to get the inspection
       method (PMETHODE) & Characteristic Value (ATWRT) ?
       I don’t know the relation among them.
    Could you please help?
    Thanks in advance.
    Saket

    Hi Jose,
    Thanks for your help, could you please look into my requirement.
    For all inspection characteristics listed in the selected COA profile, I have to retrieve the Inspection Method for all listed inspection characteristics. And also I have to retrieve the characteristic value(uncertainty). Additionally, for inspection characteristics that are quantitative, being checked, the characteristic value(uncertainty) from that Inspection method will be retrieved from class 3050_UNCERTAINTY, class type 006, characteristic, P2150_UNCERTAINTY. 
    Please help me out.
    Thanks,
    Saket .

  • How to implement classes and methods in badi's ?

    how to implement classes and methods in badi's? and where i have to write the code based on the requirement?can anyone explain me briefly?

    Hi
    Every BADI by default Implements an INTERFACE which already contains some methods with parameters.
    So you have to find the relavenet method based on the related paramters (by checking the fields in that paramters) you have to double click on the method and to write the code.
    see the doc
    DEFINING THE BADI
    1) execute Tcode SE18.
    2) Specify a definition Name : ZBADI_SPFLI
    3) Press create
    4) Choose the attribute tab. Specify short desc for badi.. and specify the type :
    multiple use.
    5) Choose the interface tab
    6) Specify interface name: ZIF_EX_BADI_SPFLI and save.
    7) Dbl clk on interface name to start class builder . specify a method name (name,
    level, desc).
    Method level desc
    Linese;ection instance methos some desc
    8) place the cursor on the method name desc its parameters to define the interface.
    Parameter type refe field desc
    I_carrid import spfli-carrid some
    I_connid import spefi-connid some
    9) save , check and activate…adapter class proposed by system is
    ZCL_IM_IM_LINESEL is genereated.
    IMPLEMENTATION OF BADI DEFINITION
    1) EXECUTE tcode se18.choose menuitem create from the implementation menubar.
    2) Specify aname for implementation ZIM_LINESEL
    3) Specify short desc.
    4) Choose interface tab. System proposes a name fo the implementation class.
    ZCL_IM_IMLINESEL which is already generarted.
    5) Specify short desc for method
    6) Dbl clk on method to insert code..(check the code in “AAA”).
    7) Save , check and activate the code.
    Some useful URL
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    Now write a sample program to use this badi method..
    Look for “BBB” sample program.
    “AAA”
    data : wa_flights type sflight,
    it_flights type table of sflight.
    format color col_heading.
    write:/ 'Flight info of:', i_carrid, i_connid.
    format color col_normal.
    select * from sflight
    into corresponding fields of table it_flights
    where carrid = i_carrid
    and connid = i_connid.
    loop at it_flights into wa_flights.
    write:/ wa_flights-fldate,
    wa_flights-planetype,
    wa_flights-price currency wa_flights-currency,
    wa_flights-seatsmax,
    wa_flights-seatsocc.
    endloop.
    “BBB”
    *& Report ZBADI_TEST *
    REPORT ZBADI_TEST .
    tables: spfli.
    data: wa_spfli type spfli,
    it_spfli type table of spfli with key carrid connid.
    *Initialise the object of the interface.
    data: exit_ref type ref to ZCL_IM_IM_LINESEL,
    exit_ref1 type ref to ZIF_EX_BADISPFLI1.
    selection-screen begin of block b1.
    select-options: s_carr for spfli-carrid.
    selection-screen end of block b1.
    start-of-selection.
    select * from spfli into corresponding fields of table it_spfli
    where carrid in s_carr.
    end-of-selection.
    loop at it_spfli into wa_spfli.
    write:/ wa_spfli-carrid,
    wa_spfli-connid,
    wa_spfli-cityfrom,
    wa_spfli-deptime,
    wa_spfli-arrtime.
    hide: wa_spfli-carrid, wa_spfli-connid.
    endloop.
    at line-selection.
    check not wa_spfli-carrid is initial.
    create object exit_ref.
    exit_ref1 = exit_ref.
    call method exit_ref1->lineselection
    EXPORTING
    i_carrid = wa_spfli-carrid
    i_connid = wa_spfli-connid.
    clear wa_spfli.
    Reward points for useful Answers
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • Pass an arrayList into a method

    I am looking to pass and  arraylist into a method and I am wondering how this is done...

    I figured it out:
    public function someMethod(someArray:ArrayList){}
    I figured it was the same.
    This is dealing with flex, How ever on the AS side, so its a pure AS question

  • How to scan soure of methods?

    I want to scan source of methods.
    For exapmle, Class Interface "CL_IM_FI_HEADER_1300_FS" has 4 methods.
    IF_EX_FI_HEADER_SUB_1300~PUT_DATA_TO_SCREEN_PBO
    IF_EX_FI_HEADER_SUB_1300~PUT_DATA_TO_SCREEN_PAI
    IF_EX_FI_HEADER_SUB_1300~GET_DATA_FROM_SCREEN_PBO
    IF_EX_FI_HEADER_SUB_1300~GET_DATA_FROM_SCREEN_PAI
    How can I scan these?
    Please help me.
    I use  
    READ REPORT
    , but it doesn't work.
    Edited by: Jaime White 999 on Sep 22, 2011 10:55 AM

    You need the methods used in the class or the code written in the method ?
    If you need methods used in class
    check my wiki link:[http://wiki.sdn.sap.com/wiki/display/ABAP/ListallMethods,Attributes,Eventsofa+Class]
    For second case i just searched in my system and got SCAN_ABAP_OBJECTS_CLASSES, SCAN_ABAP_OBJECTS_SECTION and some more. Please have a look into it.
    You can make use of function SEO_METHOD_GET_SOURCE as said in this contribution [download_abap_class|http://www.sapnet.ru/viewtopic.php?p=7706]
    Kesav

Maybe you are looking for

  • Calling procedure works in SQL Developer, but returns error elsewhere?!

    Hi there! I try to call a procedure with this code snippet: begin p_snap_op.add_change_log(vi_cart_no => 'Cart 2341', vi_operation => 'Change', vi_info_source => 'Testsource', vi_comment => 'Testcomment', vi_refg_id => '1112', vi_snap_id => null, vi_

  • Adobe Air version 2.5.1.17730 will not uninstall or update.

    My computer AMD Phenom 9150e Quad-core 1.80 GHz with 7 GB memory Windows Vista Home Premium (64 bit) with Service Pack 2. NVIDIA GeForce GTS 450 I tried to update Adobe Air.  It downloaded fine.  I click the run button and it showed in the bottom too

  • Having trouble with Flash Player in regards to youtube

    Hello, Recently I started having trouble with Flash Player in regards to using it with youtube. Sometimes all I see is a blank white screen and sometimes I do see the video with no surrounding youtube webpage or suggested videos etc. Nothing has chan

  • Losing Date Information Upon Import

    I have movie files in both iPhoto and on DVD that I can import into iMovie - but then said clips show up in Events as having been "Created" at the time of import - not the date/time the video clip was actually taken. The information is in the file to

  • Auto Archiving Files in BEA repository

    I need to find out if the following is possible in BEA content repository: For files within a node that you create in the BEA repository, is there anyway to 'auto archive' these files? For example, there are 10 files in 'Latest News' node. Out of the