What does Customer refer to in  the following script?

What does Customer refer to in the following script? Is it a class name?
What does return refer to?
public class Order
+{+
+// ...+
public Customer getCustomer()
+{+
return (Customer)m_cacheCustomers.get(m_customerId);
+}+
+// ...+
+}+
Thank you

jetq wrote:
What does Customer refer to in the following script? Is it a class name?
What does return refer to?
public class Order
+{+
+// ...+
public Customer getCustomer()
+{+
return (Customer)m_cacheCustomers.get(m_customerId);
+}+
+// ...+
+}+
Thank youHi Frank,
in this example the Customer is the Java class of objects which are put into a cache and is not Coherence specific at all. This is just the return type similarly to how a (stored) function in Oracle may return a row-type containing multiple values.
The return is a Java keyword which in a non-void method instructs the JVM to return the value of the expression following it from the method as the method return value if an expression follows it, and in a void method it simply returns from the method (no return value in this case, similarly to stored procedures).
Sorry for my saying so, really no offense intended, but judging from your questions you might want to attend at least a beginners Java course.
Best regards,
Robert

Similar Messages

  • What does this name mean in the following form

    Hi guys,
    Can anyone please tell me abt the name field and also other field onSubmit does in the following form
    <form method="post" action="IAFDispatcher" name="mainForm2" onSubmit="return checkCustomer()">
    Thanks in advance.

    Hi guys,
    Can anyone please tell me abt the name
    abt the name field and also other field onSubmit does
    in the following form
    <form method="post" action="IAFDispatcher"
    name="mainForm2" onSubmit="return checkCustomer()">
    Thanks in advance.The name field is used for identifying this form on the client side, such as through javascript DOM operations (like document.forms.mainForm2 would locate the form in question).
    The onSubmit attribute defines a javascript function that will occur when the 'onsubmit' event of the form is given. The 'onsubmit' event occurs when a submit button is pushed or when a javascript .submit() method is called on the form. The function called my the onsubmit event should return a boolean value: "true" means that submission should continue, and "false" means that the form should not be submitted.
    http://www.w3schools.com/tags/tag_form.asp
    http://www.w3schools.com/tags/eventattributes.asp

  • What are the following script doing?

    What are the following script doing? What does symbol *<* stand for?
    protected Map<Member, List<String>> divideWork(Set members, List<String>
    fileNames)
    Thank you

    su_penguin wrote:
    Side note: http://en.wikipedia.org/wiki/Operator_overloading
    Extra credit: What trick does Java's syntax use to allow Generics to compile with or without whitespace between the angle brackets? Ex: Map< Member, List< String > >
    Why doesn't it work in C++?Does this have something to do with the comment "Note that it is not an LL(1) grammar"? [http://java.sun.com/docs/books/jls/third_edition/html/syntax.html]

  • What do symbol ^ and stand for in the following script?

    What do symbol *^* and *>>>* stand for in the following script?
    Does *(int)* means that (temp ^ (temp >>> 32) return the int format?
    long temp = Double.doubleToLongBits(salary);
    result = PRIME * result + (int) (temp ^ (temp >>> 32));
    return result;
    Thank you very much

    jetq wrote:
    What do symbol *^* and *>>>* stand for in the following script?In Java, this is referred to as "code", script could be confused with Javascript, which is not Java at all.
    The previous reply will help you find all you need to know.
    Does *(int)* means that (temp ^ (temp >>> 32) return the int format?"format" refers to how a value is converted to text. (Sometimes how it is to be parsed as well)
    "(int)" casts the long value to an int value (signed 32-bit)
    long temp = Double.doubleToLongBits(salary);
    result = PRIME * result + (int) (temp ^ (temp >>> 32));This will treat -0.0 as being different to 0.0. If this is undesirable, you can do something like...
    long temp = aDouble != +0.0d ? Double.doubleToLongBits(aDouble) : 0L;
    result = PRIME * result + (int) (temp ^ (temp >>> 32));

  • Does User exit exsist for the following  transaction

    i want to ask that does user exit exsist for the following transaction code
    IK01
    IK02
    IP42
    what data they fetch ?
    Edited by: Iftikhar Qayyum on Feb 21, 2008 9:40 PM

    i want to ask that does user exit exsist for the following transaction code
    IK01
    IK02
    IP42
    what data they fetch ?
    Edited by: Iftikhar Qayyum on Feb 21, 2008 9:40 PM

  • What does this message mean? : "The file name "DSC_0088.jpg" is offline or missing." ?

    What does this message mean? : "The file name "DSC_0088.jpg" is offline or missing."   I am in the process of importing photos from iPhoto (don't really know what I'm doing....) and when I look at one of the imported photos that message pops up.  I know what "DSC_0088.jpg" is.  I don't know what it means that the file is "missing".

    CASpyr,
    Thank you so much for your reply.  I have a couple of bigger issues that I am dealing with: too many photos on my laptop: 40,000! (Of course I have to throw away many of them, but that is time consuming). I have a MacBook Pro and have primarily used IPhoto. I have recently purchased 2 external drives and have transferred my photos to those, but I need a basic education about how photos are stored, copied, etc.  I have recently been told that iPhoto only shows and deals with jpegs, not RAW.  About 1/3 of my photos are RAW, so I purchased Lightroom, so I could do more with those RAW photos.  I have been told by my local Mac store that I need to delete most of my photos from iPhoto, because it's causing problems.  I am reluctant to do so until I am sure that all of the keywords, descriptions and editing I have done to these photos is not lost when deleted from iPhoto. I just watched a tutorial about importing to Lightroom and got out of it that I needed to copy photos from iPhoto to a file on my desktop and then copy to Lightroom.  I did that, it seemed to work.  Then (because of my storage/memory issues) I deleted the photos (just a few as an experiment) from that desktop file.  I'm guessing that is why Lightroom doesn't recognize the the photos.  It seems that (learned from another tutorial) that one uses "Add" , Lightroom is only connecting to the source of the photo, not  actually copying it to the program.  Sounds like I need to use the "Move" feature instead.  My ultimate goal is to store the photos on the 2 external drives and eliminate most of them from my lapop.  So my basic questions have to do with what data (metadata??) is copied from iPhoto to an external drive (RAW???) and what isn't copied. Basic understanding issues,obviously….  I hope this isn't too much to ask.  If you can recommend a book or resource that can explain those basic issues to me I'd appreciate it.  I just got back from a trip and I can't download my new photos until I manage the rest!
    Thanks,
    Nancy

  • Why is the sound of my new ipad cutting out intermittently and what does Apple recommend to solve the problem in lieu of any updates?

    Why is the sound of my new ipad cutting out intermittently and what does Apple recommend to solve the problem in lieu of any updates? All of a sudden without changing any settings, the audio on my NEW ipad cuts in and out on applications/ games, keypad noise and lock sounds. The rocker button only seems to work while the sound is intermittently being heard before, after a few seconds of noise not doing anything when sound goes off.
    This is highly frustrating as I've noticed others posting about such issues as far back as April. Anybody had the same thing happen to them? Is this likely software (ios6) or hardware issue? What are the solutions Apple???

    Apple has no physical stores of their own in Dubai, so unless you mean that you purchased from the online Apple Store for the UAE, you purchased from a dealer, who may or may not have been authorized. You can check the expiration date of the warranty on your iPad yourself by entering in the serial number here:
    https://selfsolve.apple.com/agreementWarrantyDynamic.do
    If it does indeed show the warranty has expired, then what you need to do from here will depend on who you purchased the iPad from and when you really did purchase it. Perhaps you actually purchased it in August and are just misremembering? Check your receipt. If you confirm that you did purchase within the last calendar year, tell us exactly where you got it and we can probably offer advice.
    Regards.

  • My iPhone 5 is not catching up my website, although having a big screen... What does it need to get the pages in auto mobile queries converting?

    my iPhone 5 is not catching up my website, although having a big screen... What does it need to get the pages in auto mobile queries converting?

    You need to code your web site to recognize the mobile browser and send a page that's actually usable when it does.

  • What do the symbol and stand for in the following script? not like displa

    What do the symbol *>* and *>>* stand for in the following script? It is displacement? They do not like displacement symbols.
    $JAVA_HOME/bin/java -cp $CLASSPATH $JVM_OPT $SYS_OPT
    oracle.sysman.integration.coherence.EMIntegrationServer *>* $COHERENCE_
    HOME/mgmtnode.log *>>* $COHERENCE_HOME/mgmtnode.err &
    Thank you

    jverd wrote:
    BigDaddyLoveHandles wrote:
    But the example, if it's correct, seems to be using >> to redirect stderr, not to append stdout. The OP should identify what OS and what shell they are using.In any unix shell I'm aware of, > is overwrite and >> is append.Which is why he said "seems to be using >> to redirect stderr". Which I read to mean that BDLH also found it to be incorrect but some "corner-product" shell may do this sort of thing (not that I know, or have heard, of any that do). ;-)
    In a bourne family shell, the initial construct would cause stdout to replace the log file and append the err file, and would not redirect stderr.
    If you want to send stdout to one file and stderr to another, with overwrite, it'd be
    command > logfile 2> errfile
    Correct, of course. ;-)
    And, of course, changing either of those ">" symbols to ">>" would append (that stream), but you've already said that. ;-)

  • HT201471 What does MM stand for in the ipad mini and ipad 4th gen description (wifi+cellular) ?

    What does MM stand for in the ipad mini and ipad 4th gen description (wifi+cellular) ?

    I think it must stand for "made of money" because this 4th generation ipad model 1460 is the most expensive.

  • I just updated to ios5 but now can't sync because it's telling me my "other" section in the overview has grown to 10.2gig?!  What does that "other" section in the overview include and how can I reduce it to get my phone to sync??

    I just updated to ios5 but now can't sync because it's telling me my "other" section in the overview has grown to 10.2gig?!  What does that "other" section in the overview include and how can I reduce it to get my phone to sync??

    Thanks for the help.  The restore seems to have solved the problem.  I had a bit of a panic attack when things started going haywire and the Apple 'Support' told me to call back during business hours! 

  • What does a double line underneath the launchpad icon mean?

    What does a double line underneath the launchpad icon mean?

    This is the downloading part of the icon: one of your programs has not downloaded correctly. Start launchpad and search for a grey icon and try to download this app. After downloading the the double line should disappear

  • What does it mean by deleting the Content of the setup table when LO cockpi

    Hi all:
        what does it mean by deleting the Content of the setup table when LO cockpit ? why should we do it?  why set up tables ?
    Thank you very much!!!
    Edited by: jingying Sony on Jun 7, 2009 4:46 AM

    Hi Jingying Soni,
    Data sources in LO cockpit have a seperate exctraction source during full update mode and delta update mode.
    During delta update mode(when an transaction is posted in any particular application - like SD - sales orderm delivery) data is posted in application tables and updated alongside to the update table/extraction queue.
    From the extraction queue this data is further transfered to the delta queue using periodic background jobs.The data is then upladed in BW. The delta lad always reads data from this delta queue.
    However, when a full load is requested from the BW, the data is sourced by the set up table of the corresponding application.
    The setup table is loaded/initalized first. In this initialization process , it reads data frm the corresponding application tables and stores it within this table. Later BW reads from this set up table whenever full/initial load is requested.
    The process of filling set up able before full load request frrom BW is called set up run.
    Before you run a set up to fill the set up tables you need to check that the set up table is empty.
    If it is still containing data that was previously loaded in some other set up run. This data will als get loaded in BW unitinetionally/accidentally.
    So, you need to ensure that you only get the intended data in BW. This can be done by proper selections to transfer data from application tale to set up table and from setup table to BW.
    Along with this you hae to ensure that the set up table is either empty or you are using a disparate selection in the set up run and BW load which does not overlap with the previous set up runs data.
    Hope it helps,
    Best regards,
    Sunmit.

  • What do *Size=1* and *BitSetCount=2* mean in the following script?

    What do Size=1 and BitSetCount=2 mean in the following script?
    MasterMemberSet
    ThisMember=Member(Id=1, Timestamp=2007-05-23 10:48:17.0, Address=192.168.0.204:8088, MachineId=26828)
    OldestMember=Member(Id=1, Timestamp=2007-05-23 10:48:17.0, Address=192.168.0.204:8088, MachineId=26828)
    ActualMemberSet=MemberSet(Size=1, BitSetCount=2
    Member(Id=1, Timestamp=2007-05-23 10:48:17.0, Address=192.168.0.204:8088, MachineId=26828)
    Thank you very much

    Hello,
    That is part of very low level diagnostics message.
    The size is is how many members in that set.
    The BitSetCount=2 means that 2 32b integers were required to represent the memberset on the wire.
    Best regards,
    -Dave

  • What does "You can't open the application "Setup QuarkXPress6.1" because power PC applications are no longer supported" mean?  I am trying to install an old version of Quark on my 2010 Macbook pro.

    What does "You can't open the application "Setup QuarkXPress6.1" because power PC applications are no longer supported" mean?  I am trying to install an old version of Quark on my 2010 Macbook pro.

    jennyba wrote:
    What does "You can't open the application "Setup QuarkXPress6.1" because power PC applications are no longer supported" mean?  I am trying to install an old version of Quark on my 2010 Macbook pro.
    As has been mentioned, the software in Mac OS X that supported the running of PPC applications rather than current Intel applications on Intel computers such as your MBP was last seen in Snow Leopard. However, since I believe your MBP originally came with Snow Leopard, you may be able to boot from the DVD's that came with the computer and install it on an external HD and try to install Quark on that.
    I think a better solution would be to buy Snow Leopard Server from Apple by phone (800-692-7753 and be specific about wanting part # MC588Z/A), installing it as a virtual machine in software like VMware Fusion, and then installing Quark 6 in that. You'll still need a license number to authorize the Quark installation.

Maybe you are looking for


HashFlare