What is the times() method?

I am currently going through the Java Tutorial. Under the section ?List Interface?
http://java.sun.com/docs/books/tutorial/collections/interfaces/list.html
I see a code sample ?
a[i] = a[j].times(a[k]);I interpret the right-hand side as calling the ?times? method of the object a[j]. Since the definition of the array ?a? is not present in the code snippet, I don?t know it?s type.
I have searched the Java API Specification and can see no method called ?times?. Is there a standard method called ?times? or do we assume that ?a? is an array of some user declared class with method called ?times??
Dell
Message was edited by:
Dellboy

Never heard about it. May be some user defined method for multiplication (that's what the name suggests) of two array elements (assuming that a[] is numeric)

Similar Messages

  • What are the avlble methods to Measure  Quality of Customer Service in SAP

    Hi
    We are in Retail business, and I would like to know what are the available methods to measure the Quality of Customer service in SAP CRM. Help us to get the required information?
    Best regards

    Venkat,
    there are two aspects to this :
    1. The overall philosophy ( for want of a better word ) of QOS for any service - there is a lot of thought that has gone into measuring QOS for a service - hence I would say that QOS is more related to the specific service than the entire domain.
    2. Measuring the quality of service in terms of what ? - there are a lot of KPIs for the same some of them could be :
    Average time taken to service a customer
    Does the customer get all that they want in the store or only some of the items ( partial fill)
    Are the products neatly arranged and easy to access
    average time taken for the customer to get what h/she needs
    customer facilities like parking / childern play area etc
    Availability of attendants / helpers for the customer
    home delivery
    credit options... etc etc and the list could go on endlessly ... as you can see it is very specific to the service being provided and accordingly you will get KPIs for the same.
    As for measauring the same - there are umpteen ways to do the samedepending on the place it gets recorded - you can have surveys / web surveys / POS details etc etc - what is it that you are looking for specifically ?
    Arun
    Hope it helps....
    Message was edited by:
            Arun Varadarajan

  • What is the best method to revert back to 'golden' image of database

    Hello,
    I want to have a 'golden' image of my test database. What is the best method to keep reverting back to this 'golden' image after testers are done with testing. What I mean is I want to set up a test database for testers. Testers can insert,update, delete on objects as they like. But after the testers have completed their testing, I want to revert the database back to the 'golden' image. This 'golden' image is the state of the database before testers perform their tests. I need to revert back to the 'golden' image many times over as we have to perform many different tests.
    I thought about export and import (9i database) but takes 6 hours, too long. I tried using rman and was successful the first time, (set until time; restore database; recover database; open resetlogs;). The seconde time using rman, I got error saying the set until time was before the resetlogs time. I think I would have to restore the control file before the resetlog time frame before I can recover to the set until time, again.
    What is a straight forward method to have a 'golden' image so I can keep on restoring back to it? This database is a test 9i database and it is in archive log mode but it doesn't need to be. I just need a best practice method, whether it is rman, exp/imp, manual backup/restore? Something I can use time and time over again. Thank you.

    If it is a Test envionment, can you just take a COLD Backup (database files
    plus control files) ? How big is the database ? What platform is it on ?
    eg in a COLD Backup
    a. If using a script, run multiple "cp" (or cpio/tar) commands in parallel to
    copy different database files
    b. If using RMAN (in NOMOUNT), use multiple Chnanels.
    Note : Remember to include ControlFile Backups and Restores as well.

  • Refer to a JTabbedPane from the porgram /&what is the first method invoked?

    Hi there,
    I have been researching for this for a while and couldn?t find the answer, maybe some of you guys can help.
    Situation: I have a program with some JTabbedPane in it
              panel.setLayout(new BorderLayout());
              JTabbedPane pane = new JTabbedPane();
              pane.setTabPlacement(JTabbedPane.LEFT);
              pane.setFont(new Font("Times New Roman", Font.PLAIN, 16));
              pane.add("User", userPanel);
              pane.add("Group Type", groupPanel);
              pane.add("Agent", agentPanel);
              panel.add(pane, BorderLayout.CENTER);
    Question1: sometimes, when the user clicks on JButton, I want to refer him directly to a different ?JTabbedPane?. Meaning, I don?t want him to physically press the ?JTabbedPane? to get there, but I want the program to take him directly to the relevant section. how to do that?
    Quesiotn2: what is the first method invoked when referred to a JTabbedPane. Or, how can I count how many times the users has referred to a particular section.
    Thanks for any help :-)
    dgz

    panel.setLayout(new BorderLayout());
    JTabbedPane pane = new JTabbedPane();
    pane.setTabPlacement(JTabbedPane.LEFT);
    pane.setFont(new Font("Times New Roman", Font.PLAIN,
    16));
    pane.add("User", userPanel);
    pane.add("Group Type", groupPanel);
    pane.add("Agent", agentPanel);
    panel.add(pane, BorderLayout.CENTER);
    Question1: sometimes, when the user clicks on JButton,
    I want to refer him directly to a different
    ?JTabbedPane?. Meaning, I don?t want him to physically
    press the ?JTabbedPane? to get there, but I want the
    program to take him directly to the relevant section.
    how to do that?
    Try this tabPane.setSelectedIndex(anIndex) //eg a number between 0 and tabPane.getTabCount
    Quesiotn2: what is the first method invoked when
    referred to a JTabbedPane. Or, how can I count how
    many times the users has referred to a particular
    section.You can get the component at an index, check if it is showing and update a count variable eg
    Vector counter = new Vector();
    public void checkVisibleTab() {
    for(int x = 0; x < tabPane.getTabCount(); x++) {
       if(tabPane.getComponentAt(x).isShowing())
          counter.addElement( new Integer(x) );
    } You can then iterate through the vector and find how many times a particular number appears and use it for your specific purpose.
    ICE

  • Purchasing new iMac (27 i5), what is best method to transfer programs/files/documents from 24" iMAC?  What is the best method to remove personal data from OS?

    Purchasing a new iMac (27 i5), what is the best method to transfer programs/files,documents from a 24" iMac?
    What is the best method to remove personal data from the 24" iMac?

    Use setup assistant which is offered when you setup your new Mac.  It will transfer information from a Time Machine backup, Clone or another Mac.
    It's best to do this during setup to avoid issues with duplicate IDs.
    Regards

  • What's the best method for a nav menu with image rollover for all visitors?

    Hi.
    First, thanks for reading this.
    What's the best method for a nav menu with image rollovers for all visitors, including PDAs? I've used JavaScript rollovers for years because the majority of my customers' visitors use some version of IE (past 7.0) but I'm building a new site that has to display properly for the widest range of visitors imaginable. (I also know that I need to use a more modern method for everyone and this is my excuse to start).
    Finally, using images is critical. I apologize ahead of time to anyone I offend, but I have never seen a nav menu without images that doesn't look just plain terrible.
    Thanks.
    Fitz21

    If you want the best menus possible for Dreamweaver look no further than Project Seven:
    http://projectseven.com/
    They have all kinds of menus and other extensions available for purchase.  Easy to use and they work as advertised.  I personally use Pop Menu Magic and Tab Panel magic myself.  I could go on and on, but I guarantee that if others respond they will echo the same sentiment for Project Seven.

  • HT1229 what is the best method for using a iphoto with an external hard drive for greater capacity?

    what is the best method for using a iphoto with an external hard drive for greater capacity?

    Moving the iPhoto library is safe and simple - quit iPhoto and drag the iPhoto library intact as a single entity to the external drive - depress the option key and launch iPhoto using the "select library" option to point to the new location on the external drive - fully test it and then trash the old library on the internal drive (test one more time prior to emptying the trash)
    And be sure that the External drive is formatted Mac OS extended (journaled) (iPhoto does not work with drives with other formats) and that it is always available prior to launching iPhoto
    And backup soon and often - having your iPhoto library on an external drive is not a backup and if you are using Time Machine you need to check and be sure that TM is backing up your external drive
    LN

  • What are the different methods to find the user-exit for any requirement?

    Hi Everybody,
    What are the different methods to follow to find the user-exit for any requirement?
    Thanks & Regards,
    Nagaraju Maddi

    The following program search all the user exits involved with a T-code:
    Selection Text: P_TCODE: Transaction Code to Search
    Text Symbols: 001 - Enter the Transaction Code that you want to search through for a User Exit
    REPORT z_find_userexit NO STANDARD PAGE HEADING.
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP® User Exits exists.
    *& Tables
    TABLES : tstc,     "SAP® Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP® Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
    *& Variables
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
    START-OF-SELECTION.
    * Validate Transaction Code
      SELECT SINGLE * FROM tstc
        WHERE tcode EQ p_tcode.
    * Find Repository Objects for transaction code
      IF sy-subrc EQ 0.
        SELECT SINGLE * FROM tadir
           WHERE pgmid    = 'R3TR'
             AND object   = 'PROG'
             AND obj_name = tstc-pgmna.
        MOVE : tadir-devclass TO v_devclass.
        IF sy-subrc NE 0.
          SELECT SINGLE * FROM trdir
             WHERE name = tstc-pgmna.
          IF trdir-subc EQ 'F'.
            SELECT SINGLE * FROM tfdir
              WHERE pname = tstc-pgmna.
            SELECT SINGLE * FROM enlfdir
              WHERE funcname = tfdir-funcname.
            SELECT SINGLE * FROM tadir
              WHERE pgmid    = 'R3TR'
                AND object   = 'FUGR'
                AND obj_name = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
      * Find SAP® Modifications
        SELECT * FROM tadir
          INTO TABLE jtab
          WHERE pgmid    = 'R3TR'
            AND object   = 'SMOD'
            AND devclass = v_devclass.
        SELECT SINGLE * FROM tstct
          WHERE sprsl EQ sy-langu
            AND tcode EQ p_tcode.
        FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
        WRITE:/(19) 'Transaction Code - ',
        20(20) p_tcode,
        45(50) tstct-ttext.
        SKIP.
        IF NOT jtab[] IS INITIAL.
          WRITE:/(95) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1 sy-vline,
          2 'Exit Name',
          21 sy-vline ,
          22 'Description',
          95 sy-vline.
          WRITE:/(95) sy-uline.
          LOOP AT jtab.
            SELECT SINGLE * FROM modsapt
            WHERE sprsl = sy-langu AND
            name = jtab-obj_name.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
            WRITE:/1 sy-vline,
            2 jtab-obj_name HOTSPOT ON,
            21 sy-vline ,
            22 modsapt-modtext,
            95 sy-vline.
          ENDLOOP.
          WRITE:/(95) sy-uline.
          DESCRIBE TABLE jtab.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No of Exits:' , sy-tfill.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'No User Exit exists'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'Transaction Code Does Not Exist'.
      ENDIF.
    * Take the user to SMOD for the Exit that was selected.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.

  • I'm moving to an imac from a PC. I want to move my itunes library from the PC to my new imac. What is the best method and where can I find instructions?

    I'm moving to an imac from a PC. I want to move my itunes library from the PC to my new imac. What is the best method and where can I find instructions?

    Move iTunes from PC to MAC, http://www.macworld.com/article/146958/2010/03/move_itunes_windows_mac.html

  • What is the best method of backing up my digital files (catalog) in the Photoshop Elements Organizer

    What is the best method or service for backing up my digital files (catalog) in the Organizer from Photoshop Elements 12. Since there no longer is  the automatic  Elements sync available I do not know what to choose. I have tried to back this up using my external drive, but I cannot find the digital images per se. I see the entire program but not the catalog of pictures. Also, I have a windows operating system and Adobe  Revel offers no edit capabilities with this OS.

    I'm in a similar situation including movies I've purchased from iTunes...
    Here's my setup:
    I have all my iTunes data (music, movies, etc.) as well as about 10 GB of photos stored on a nework storage device that uses RAID-5 with SATA disks. This is basically a little toaster-sized NAS machine with four hard drives in it (www.infrant.com). If one of these drives dies, I get alerted and can insert a new one without missing a beat since the data is stored redundantly across all drives. I can also just yank out any one of the four drives while the thing is running and my data is still safe (I tried this after I bought it as a test).
    That's how I prevent problems with a single disk... Redundancy
    Now onto "backups"...
    Nightly, my little RAID toaster automatically backs itself up to an attached 250GB USB drive. However, these backups are only of my critical data... documents, photos and home movies... I don't bother backing up my "Hollywood" movies since I can live without them in a disaster.
    ... I actually don't permanently store anything I care about on a laptop or a desktop. It all goes on the NAS box (Network Sttached Storage) and then my other computers use it as a network drive. It's attached via Gigbait to my main computer and via wireless to most everything else.
    My achilles heel is that I don't store anything outside of my house yet. If I was smart, I'd alternate two USB drives attached to my NAS box and always keep one of them somewhere else (Safe Deposit Box?).
    ...and that's just one way to do it.
    -Brian

  • What is the best method to store session variables

    As the title says, what is the best method to store session
    variables in a Production environment?
    I have been reading the posts on sessions and have been
    getting different ideas on where to store session variables, in a
    db, registery, cookies etc etc
    Can someone clarify possible best practice on this matter?
    Matrix

    From my experience, db is the best to store client variable
    data. Registry will cause you trouble in future (when data gets
    overloaded) and cookies will not serve the purpose for a few % of
    your users.

  • What is the best method for moving iTune Libraries from Old to New Computer

    Hello,
    Thanks in advance for any assistance you may offer.
    My Sony Vaio Desktop recently died and untimely death, so I just purchased an HP Notebook. I was trying to wait out the release of the possible update of the Macbook line. However the old computer didn't agree. This HP will tie me over till a new release.
    I've been doing weekly backups for over 3 years with a backup drive from Western Digital. At this point I just want to transfer my music in iTunes and applications from the App store that are loaded on to my iPod Touch into the new computer and then reauthorize and sync.
    My question is what's the best method. Oh another problem I'm having includes the latest iPhone & iPod Touch software problem of 3rd party apps not working along with the vanishing of my music on the Touch.
    Any guidance would be much appreciated.

    Open up a fresh copy of iTunes. Point iTunes in the direction of your Western Digital Harddrive. Import Folders.
    1. New Copy
    2. Edit -> Preferences -> Advanced -> General -> Change -> <the address of the iTunes library on WD>
    3. File -> Add Folder to Library -> <Select iTunes folder on WD>
    Always keep a backup of your iTunes Library file and the iTunes XML Document. If you have those, then it might be just as simple as copying those to your iTunes file folder. If you are not sure where they are, then do a search for iTunes.xml.

  • HT1382 What is the best method to backup an Iphone 3G and then install newer ios without losing any info on the phone?

    What is the best method to backup an Iphone 3G and then install newer ios without losing any data in the phone?

    How to BackUp  >  http://support.apple.com/kb/ht1766
    Key2Paradice wrote:
    What is the best method to backup an Iphone 3G ...
    Note:
    The iPhone 3G can only update as far as iOS 4.2.1
    Connect to iTunes on the computer you usually Sync with and “ Check for Updates “...
    If an Update Appears Install it... if not... you are up to date for your particular Device...
    See the Using iTunes Section Here...
    How to update your iPhone, iPad, or iPod touch

  • What is the best method to provide an option to select "All" for LOV ?

    Some posts sugest that you should "UNION" the origional select with something like (select "all" from dual ) this works as a seperate query but if you want to use and existintg query this is not very clean as viewlinks are not taken into account. We could also pass back an array list and include the all option in the list but that gets away from having the client use the iterator in the pagedef for other requirments of the page.
    Whats the best way to approach this with the new features in 11g?

    How to BackUp  >  http://support.apple.com/kb/ht1766
    Key2Paradice wrote:
    What is the best method to backup an Iphone 3G ...
    Note:
    The iPhone 3G can only update as far as iOS 4.2.1
    Connect to iTunes on the computer you usually Sync with and “ Check for Updates “...
    If an Update Appears Install it... if not... you are up to date for your particular Device...
    See the Using iTunes Section Here...
    How to update your iPhone, iPad, or iPod touch

  • What is the standard method to integreate with AME for the approval process

    I have developed a new OAF page and registered under Employee Self Service menu.
    What is the standard method to integreate with AME for the approval process.
    Appreciate your early response

    Any one used AME with the new OAF pages?
    Please share , how you use AME with OAF page

Maybe you are looking for

  • IPod will not turn BACK ON!  Cold weather?

    My iPod will not turn back on. I left it in a cold car for a few days while I was at my family's house, and the battery must have died while I was there. I came home and plugged it in, but it wouldn't charge or turn on. Help!!

  • What metadata is saved within the Quicktime file from the Browser window?

    I'm wondering if anybody could provide a list which contains the metadata that's saved in relation to the available columns in the browser window in Final Cut. For example, I know if I change a clip's Reel name, that information is saved into the act

  • Query Tables

    Hello everybody, I was wondering if somewhere in the system, the filters on the queries are stored together with some query's parameter in a table. Let's suppose I filter the 0COMP_CODE - Company code by just one fixed company "GXXX"... are the "GXXX

  • My ipod 3g has a picture of a usb connection and itunes logo and i cant do anything with it its frozen help!!!!

    Itried to sync my ipod 3g and it froze so i tried to reboot it, and now its got a picture of an USB concetion and an arrow pointing to an itune logo, cant do anything with it now its just frozen on that i can turn off and turn on ipod but it goes to

  • Mac boots with "Other" account name

    Suddenly my Mac shows an "Other" account on the login screen. In checking the user accounts there is no account named "Other". How do I get rid of this? Rachael