What does these codees mean?

Pls help me with the meaning of the following codes,
1. int count;
for (int i = 0; i<COUNT.length; i++)
count = Integer.parseInt(COUNT);
2. if(POINT.compareTo("R") != 0)
3.if (COUNT_02.compareTo("0") != 0)
4.result.addValue(EAN_04count_EAN+3);
5.result.addValue(EAN_04count_EAN+3);
6.result.addValue(Quantitycount_qty);
Also can u suggest some urls where some documaents can be available to enhance Java skills to develop UDFs.
Points will be awarded. Pls help. I hav been assigned huge responsibilities in XI, though I am an Abaper!
PS: Can u suggest any PDF where I can come to know about the different syntax, commands as used above, so that I can develop my own java codes....
Arnab .

Hi,
1. int count;
   for (int i = 0; i<count.length; i++)
       count = Integer.parseInt(count);
Ans: Here Count is a variable and all the count variables should be changed to an Object.
2. if(POINT.compareTo("R") != 0)
Ans: Here POINT should be a String Constant
public int compareTo(String anotherString)
Compares two strings lexicographically. The comparison is based on the Unicode value of each character in the strings. The character sequence represented by this String object is compared lexicographically to the character sequence represented by the argument string. The result is a negative integer if this String object lexicographically precedes the argument string. The result is a positive integer if this String object lexicographically follows the argument string. The result is zero if the strings are equal; compareTo returns 0 exactly when the equals(Object) method would return true.
3. if (COUNT_02.compareTo("0") != 0)
Ans : Same as (2)
4. result.addValue(EAN_04count_EAN+3);
Ans: Here what is result ?  Check for result.addValue method in Java API @ http://java.sun.com/j2se/1.5.0/docs/api/
5.result.addValue(EAN_04count_EAN+3);
Ans: Same as 4
6.result.addValue(Quantitycount_qty);
Ans: Same as 4
Regards,
Ramana Kumar. A

Similar Messages

  • What does these messages mean

    I cannot get into my itunes because this message comes up. "A required iTunes component is not installed. Please repair or reinstall iTunes. (42404) "
    Then when I exit this message another one comes up. We could not complete your iTunes store request. "an unknown error occured (50)"
    Please help me to fix this.
    Grandmakat70

    zodmaner wrote:
    Hi, well today when starting up my box I noticed these two startup messages:
    :: Initiate Random Seed
    :: Removing LeftOver files
    What does these mean? And what program/service runs it? (And what 'left over files' is it removing?) I think I never see them before. Is these message appears because I just install sudo?
    Also when shutting down there is also a message concerning a Random Seed. (Saving Random Seed).  What is it doing?
    Well...  if your head over to your /etc/rc.sysinit, you'll see exactly what it does.  If I remember correctly, saving random seed is just saving your startup time because it is random, and removing leftover files is clearing out the /tmp/ directory.

  • What does these errors mean?

    1. [07/Nov/2002:16:38:29 -0800] NSMMReplicationPlugin - Unable to acquire replica "
    cn=Sample1, cn=replica, cn="o=company.com", cn=mapping tree, cn=config (host myhost
    , port 389)": there is no replicated area "o=company.com" on the consumerserver. Replication is aborting.
    2. [07/Nov/2002:18:34:11 -0800] NSMMReplicationPlugin - Unable to send a startReplication extended operation to consumer "cn=Sample1, cn=replica, cn="o=company.co
    m", cn=mapping tree, cn=config (host myhost, port 389)". Will retry later.
    Any help is appreciated..
    Thanks

    It means you need to
    1) create the suffix and db for o=company.com on the consumer.
    2) enable the replica for o=company.com on the consumer
    Please refer to the documentation about setting up replication for more information.

  • My labtop keeps showing error codes 0601 and 03f0. What does these codes mean and how do I fix them?

    HP Pavilion, Windows vista

    Usually means the hard drive has failed, replace the hard drive and use the HP recovery discs to install windows.

  • What does these icons mean? SW2 notification system may lack some important functions...

    Picture:

    Could you upload the picture to box.com and post the link here as we can't see the picture
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

  • What does these startup messages mean?

    Hi, well today when starting up my box I noticed these two startup messages:
    :: Initiate Random Seed
    :: Removing LeftOver files
    What does these mean? And what program/service runs it? (And what 'left over files' is it removing?) I think I never see them before. Is these message appears because I just install sudo?
    Also when shutting down there is also a message concerning a Random Seed. (Saving Random Seed).  What is it doing?
    Last edited by zodmaner (2007-07-27 00:23:42)

    zodmaner wrote:
    Hi, well today when starting up my box I noticed these two startup messages:
    :: Initiate Random Seed
    :: Removing LeftOver files
    What does these mean? And what program/service runs it? (And what 'left over files' is it removing?) I think I never see them before. Is these message appears because I just install sudo?
    Also when shutting down there is also a message concerning a Random Seed. (Saving Random Seed).  What is it doing?
    Well...  if your head over to your /etc/rc.sysinit, you'll see exactly what it does.  If I remember correctly, saving random seed is just saving your startup time because it is random, and removing leftover files is clearing out the /tmp/ directory.

  • 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

  • What does this message mean? "Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" has been modified and will not be repaired"

    What does this message mean? "Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" has been modified and will not be repaired"  I get this when I try to repair permissions in disk utility.

    It's an innocuous error you can ignore. It was introduced with previous updates for ARD and/or Java before Lion. These are messages, not errors. They will cause no harm, and they will be repeated each time you repair permissions.

  • What does the ~ symbol mean next to an event?  I have never seen this before but today when I edited a few events this appeared next to the event.

    What does the ~ symbol mean next to an event?  I have never seen this before but today when I edited a few events this appeared next to the event.

    Greetings,
    Hm. I've never seen that in iCal.  In some other Applications the tilde "~" indicates a restore point or a before / after for a file.  My guess is there is a broken cache file in iCal.
    Try:
    Go to Apple Menu > System Preferences > Language & Text > Formats > Region. Region should be set to the country of your choice. Do not have it set to "Custom" as this can have unexpected results in the iCal window.
    If that doesn't resolve the issue:
    1. First make an iCal backup:  Click on each calendar on the left hand side of iCal one at a time highlighting it's name and then going to File Export > Export and saving the resulting calendar file to a logical location for safekeeping.
    2. Go to iCal > Quit iCal
    3. Remove the following to the trash and restart your computer:
    Home > Library > Caches > com.apple.ical
    Home > Library > Calendars > Calendar Cache, Cache, Cache 1, 2, 3, etc. (Do not remove Sync Cache or Theme Cache if present)
    --- NOTE: To get to "Home > Library" in Lion: Click anywhere on the desktop and then click on the "Go" menu at the top of the computer screen while holding down the "option" key on the keyboard.  You will see "Library" in the menu.
    4. Launch iCal and test.
    If the issue persists:
    1. Go to iCal > Quit iCal
    2. Remove the following to the trash and restart your computer:
    Home > Library > Caches > com.apple.ical
    Home > Library > Calendars > Calendar Cache, Cache, Cache 1, 2, 3, etc. (Do not remove Sync Cache or Theme Cache if present)
    Home > Library > Preferences > com.apple.ical (There may be more than one of these. Remove them all.)
    --- NOTE: Removing these files may remove any shared (CalDAV) calendars you may have access to. You will have to re-add those calendars to iCal > Preferences > Accounts.
    3. Launch iCal and test.
    Hope that helps.

  • HT201272 What does download all mean on my purchased music from the iTunes Store app?

    What does download all mean on my purchased music from the iTunes Store app?

    Assuming you are in a region where you are allowed to redownload your past music purchases, delete the broken tracks only from your iTunes library, go to the iTunes Store home page, click the Purchased link from the Quick Links section in the right-hand column, then select Music and Not on this computer. You should find download links for your tracks there.
    If the problem persists, or that facility is not yet available in your region, contact the iTunes Store support staff through the report a problem links in your account history, or via Contact Support.
    BTW, are these all recent purchases (last 8 weeks or so) or does it affect older tracks also?
    tt2

  • Dhrystone? WhetStone? What does it all mean?

    The Arithmetic test in sandra shows you exactly, what? how do these figures apply to real world performance? On my machine, it seems that one or the other comes out above a normal p4-3.2 but the other somtimes below a stock 3.2..what does it all mean?
    Edit: I just did a little searching through the forum ( which i should have done originally i know, sorry ) and i noticed that my machine scores nowhere near where others do with similar setups.

    benchmarks are great performance measures of your machine.
    especially when you make preformance tweaks to your rig.
    that doesnt mean your score will ever be the same as someone with identical hardware because theres alot of variables like overclocking and software tweaks.
    use the online browser to compare against 1000s of sytems you get a more average read on test scores you will see rigs like yours falling well short of your scores
    honesty and anonimity you be the judge

  • HT201210 What does error 1015 mean when restoring my Iphone 3G?

    What does error 1015 mean when restoring my Iphone 3G?

    As easily found by googling:
    Errors related to downgrading iOS
    The required resource cannot be found: This alert message occurs when your device has a newer version of iOS than what is available in iTunes. When troubleshooting a device that presents this alert message, go to Settings > General > About and check the version of iOS on the device. If it is newer than the latest released iOS version, the device may have a prerelease developer version of iOS installed.   Installing an older version of iOS over a newer version is not supported.
    Error 1015: This error is typically caused by attempts to downgrade the iPhone, iPad, or iPod touch's software. This can occur when you attempt to restore using an older .ipsw file. Downgrading to a previous version is not supported. To resolve this issue, attempt to restore with the latest iPhone, iPad, or iPod touch software available from Apple. This error can also occur when an unauthorized modification of the iOS has occurred and you are now trying to restore to an authorized, default state.
    In summary: your phone is likely jailbroken. If so, there is no more support available on these forums.

  • What does "socket error" mean

    On Home Hub 2 Event Log, what does "socket error" mean ?

    Albirt wrote:
    These are error messages I get.
    Jan 30 13:12:58 2012
    (339855.360000) Socket error
    Jan 30 08:35:29 2012
    (323285.580000) Socket error
    Jan 29 12:37:02 2012
    (251460.790000) Socket error
    It just means that a TCP connection failed. Nothing to worry about, it can be caused by many things.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • What does keyword "final" mean?

    what does keyword "final" mean? and where can I find information about basic of Java?

    Another word about final-
    methods declared "final" cannot be overrided. For example:
    class Person {
         String name;
         double pay;
         /* these methods are static, meaning you can access them
         *  without making an object of this class. They're
         *  also delcared final, meaning the values will never change. */
         public static final int JANITOR = 1;
         public static final int PLUMBER = 2;
         public static final int PROGRAMMER = 3;
         public Person(String s) {
              name = s;
         public final void setJob(int job) {
              if (job == JANITOR) pay = 100.00;
              if (job == PLUMBER) pay = 300.00;
              if (job == PROGRAMMER) pay = 500.00;
              else pay = 00.00;
    }Now with that class, you can still use the final method setJob:
    Person myPerson = new Person("Bob");
    myPerson.setJob(Person.PROGRAMMER);But if you make an extension of Person, you can't ovverride the setJob method.
    (I'm not 100% sure that's the entire truth, but I'm pretty sure it is)

  • What does WYSIWYG report mean?

    Hi All,
    Can anybody tell me what does WYSIWYG report mean?
    Thanks,
    Sachin

    Hello Sachin,
    do you want to know what WYSIWYG means? What You See Is What You Get.
    A WYSIWYG report template builder is a tool that allows report design in a kind of page preview instead of coding the layout.
    HTH,
    Stefan

Maybe you are looking for

  • I am getting an error message that "A copy of Firefox is already open. Only one copy of Firefox can be open at a time" and I don't have any copy open.

    I am getting an error message that "A copy of Firefox is already open. Only one copy of Firefox can be open at a time" and I don't have any copy open. How do I correct this problem? I really like firefox because it runs many technical programs on the

  • Error when opening project

    Hello, anytime I open the last project I have been working on, this error pops up and causes premiere to crash.  I was able to revert to an autosave from this morning but it is 10 hours behind in work from the newest version.  Please help.

  • CALL_FUNCTION_CPICTERMIO_ERROR

    Hi Gurus, Please suggest on this abap runtime error CALL_FUNCTION_CPICTERMIO_ERROR. This is happening when there is CIF communication between ECC and APO system. The dumps are coming in APO system and the inbound CIF queues are getting locked with SY

  • In Grapher, can I make a graph's color after edits?

    I see how to color a graph – you click the equation, than click the "Inspector", then the color box, etc.  My problem is that when I edit the equation, it the corresponding line graph goes back to black. Is there a way to make the color stick to the

  • Is there an automated way to fix broken links?

    I've been revising a large online Help system. I've added many new topics. I've deleted topics. I've changed topic names of topics already in place. As a result, the system has many broken links. Is there an automated way, or a utilility, to fix thes