Stuck with incompatibe types for the same generic variables

having trouble with generics
i have the static class Node<T> in a double linked list
whenever i make a node point to another node
i have incompatible type errors
Node<T> current;
Node<T> head;
src\DoubleList.java:135: incompatible types
found : DoubleList.Node<T>
required: DoubleList.Node<T>
current = head;

Can you post more code? Specifically the class declarations for DoubleList and Node and a method where you have this issue. Please use the code tags (button above edit field) when you post.

Similar Messages

  • Invoice posting with different currency for the same PO

    Hi,
    Can we post the the Invoice with different currencies for the same PO.
    For example.
    PO has Qty 100 pcs.  amount 100 USD
    GR   Qty 100 pcs.
    Is it possible to post Invoice of 50 pc with 50 USD, and 50pcs with some other currency.
    Any sugggestions pls.
    Thanks,
    Satya

    Hello
    As per my knowledge, that is not possible.
    And in whjat scenario, we need to do that?
    In MIRO header itself we have the vendor currency, so it is not posbile to maintain different currency in different line items in MIRO.
    If you want, you can do MIRO in different currency that what is in PO.
    In the example given, you have o post 2 invoices, one for 50 qty in USD and the other 50 in different currency in other invoice transaction by giving the currency in basic data-invoice header and then only press ENTER after giving the PO number.
    Hope this helps
    Regards

  • Ip sla operations with different keys for the same destination

      Hi all,
    the customer wants to use different ip sla operations for the same destination (ip sla responder). From the first source router he uses key key1 and from the second source router he uses key key2. The ip sla responder responds only for the first router which uses the key key1.:-( Is it a normal behaviour? Can I use different keys for different ip sla operations for the same ip sla responder?
    See the configuration on the responder:
    key chain test
    key 1
      key-string 7 *key1*
    key 2
      key-string 7 *key2*
    ip sla key-chain test
    ip sla responder
    He tried to use ip sla responders on:
    Ciscu 2911
    Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.2(4)M3, RELEASE SOFTWARE (fc2)
    Cisco 881
    Cisco IOS Software, C880 Software (C880DATA-UNIVERSALK9-M), Version 15.1(4)M4, RELEASE SOFTWARE (fc1)
    Thank you.
    Roman

    Thomas,
    Have a look at:
    http://www.cisco.com/en/US/docs/ios-xml/ios/sec_conn_dmvpn/configuration/15-2mt/sec-conn-dmvpn-share-ipsec-w-tun-protect.html#GUID-2B448241-FD10-4F3B-BFF8-DFD44982D235
    If you're using one tunnel source you need to use one ipsec profile, unless you're running (a) p2p tunnel which you're not in this case.
    While you MAY have some luck with sharing/unsharing among different interface I'm afarid it will not be ever mentioned as supported.
    The situation will change with upcomfing 3.10 and 3.11 IOS XE releases (and corresponding IOS releases).
    M.

  • Music is not syncing on my iPad 4 and iPhone 4. pls help me with a solution for the same. Thanks.!

    music is not syncing on my ipad 4 and iphone 4..
    Please help me for the same.
    Thanks!

    De-sync all your music to remove it from the device. Then reset your device: hold down the home button along with the power button until you see the Apple, then let go. Now try re-syncing your music.

  • Several layered effects of the same kind but with different adjustments for the same layer

    Hi,
    I wonder if it there is an easy way to have several different instances of e.g. glow or bevel and emboss on the same layer.
    I know I can achieve this by using smart objects or a duplicate layer with zero blending.
    I just wondered if there is a way to do this directly in the layer effects.

    Hi emil emil,
    thx for your answer!
    I wasn't even refering to different objects on the same layer, btw. it would be enough if I was able to layer e.g. different bevel and emboss on top of each other (With different colors, softness  and size.)  But I guess the answer remains the same.

  • How can I create a hashmap() with multiple values for the same key?

    I am trying to write an application that will us something like a Map() with multiple values but some have the same key. Is this possible?

    i had the same question. just create a List, add all the values u want to it, and then put the List into the map like u would a normal single value. e.g.
    List list = new ArrayList();
    list.add(value1);
    list.add(value2);
    map.put(key, list);
    i bet u r doing the same course as i am =)

  • Different Stock types in the same HU....

    Hi Team,
                        Is there a possibility that i can have the different stock types in the same HU in SAP EWM.If we have  any options please let know.
    Thanks,
    Kris.

    Mixed Stock Types for the Same Product
    Controls whether a product in a bin or HU is allowed to be of more than one stock type. If the field is blank, different stock types are allowed. If it is selected, the product or batch can only exist in one stock type.
    Dependencies
    If the available quantity level for the storage type is set to Storage Bin, then this field is completely independent from other storage type settings. However, if the available quantity level is set to Highest-Level HU, the following dependencies exist:
    Mixed Storage must be set either to 1 - Several Non-Mixed HUs with the Same Product/Batch or to 2 - Several HUs with Different Batches of the Same Product.
    Mixed Storage in HU must also be set either to 1 - Several Non-Mixed HUs with the Same Product/Batch or to 2 - Several HUs with Different Batches of the Same Product.

  • I'm stuck I've just been charged for the same purchase twice but when I go to report it, I get a message telling me that I can't connect to iTunes!;( I'm totally confused because I've done everything I could think of to try! Can u help

    Please can you help me, I'm stuck!
    It all start when I purchased some coins for the Facebook game bejewelled &amp; it's gone down hill from there.
    First after putting my password I got a message telling me my purchase was unsuccessfull then was prompted to put my password in again which I did &amp; a message flashed up for a second saying something about my purchase being successful but not downloaded but soon after my coins appeared so I didn't think much more of that. UNTIL I got emails showing my purchase, which would fine as nothing is free but I realised I had been invoice twice for the same purchase, so I panick think how can I can my money back, so I clicked on the report a problem highlight in blue &amp; I'm transferred to iTunes, after a short while a message pops up telling me I can't connect to iTunes.
    I've tried lots of different ways to fix this but had no joy, I can't seem to get onto iTunes to get any suport either but it's still letting purchase stuff &amp; look &amp; purchase music &amp; apps though iTunes, I've reset my device &amp; also plug into my laptop, checked all my settings on the device etc:-
    I've ran out of ideas, CAN YOU HELP!;)
    Thanks

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Forgot passcode or device disabled
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:                                                             
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes       
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:           
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.

  • Is it possible to have Different Interval Ranges for the same Doc Type

    Dear All,
    Here is the issue.Is it possible to have different interval ranges for the same document type according to certain condition.Like my client , wants his interval ranges  be divided according to region(which are many)
    Regards,
    Sameer Jalees

    Hello,
    As you know we can only assign one number range for External and one number range group for internal in the sales document type.
    If you want different number ranges based on the regions, then as Jignesh suggested, you need to go for an enhancement.
    Use the exit USEREXIT_NUMBER_RANGE in program MVA45AFZZ, include a Z table with region as a critera and number range group for different numbers based on the regions. Talk to the business and get more details, get the help of ABAP team for technical details.
    Regards,
    SAM

  • Please resolve the Error:Element Entry over laps with another entry of the same type

    Hi Buddies,
                    I have been trying to resolve the error : Element Entry over laps with another entry of the same type while entering salary to an employee.
    I have tried to resolve this issue by created a new salary basis with new element. But still I could not make it.
    Please let me know how to move forward? Thanks for your help.
    Thanks
    Ganesh kumar M

    Hi Ganesh,
    We have a similar post which have some recommendation. please go through the comments and check if it helps.
    https://forums.oracle.com/thread/2440864
    Thanks,
    Sanjay

  • Error: Element entry overlaps with another entry of the same type

    Dear,
    while entering salary this error comes (Error: Element entry overlaps with another entry of the same type). what should i do for solving this issue? your feed back will be highly appreciated.
    REGARDS SAJJAD HASSAN KHAN

    Hi,
    I have faced the similar issue. And got it resolved after deleting the Element entries made for the employee.
    After deleting the similar element I was able to create Salary proposal for the employee.
    Please Verify whether any future dated salary proposal are existing for this employee.
    Also check if it has similar entries made for the ELEMENT.
    Thanks,
    Prem

  • PT_QTA00 is generating repetative records for the same quota type

    PT_QTA00 is generating repetative records for the same quota type and one more thing i have already maintained 10 days of quota in 2006 and when i run for the same employee its creating one more record with 10 days again how can we restrict it in configuration

    As said earlier, you want to setup Time Constraints for It2006 which is  in table: V_T582A
    You should set the Time Constraint to 2.
    HR master data uses the following three time constraints:
    Time Constraint 1
    For the entire time that the employee works at the enterprise, exactly one valid infotype record must exist. The validity periods of the individual records must not overlap. If a new record is created, the system automatically uses the start date of the new record as the delimitation date of the old record. Gaps are only allowed between the employeeu2019s entry date and the start date of the first record.
    Time constraint 1 must be used for all of the infotypes containing information that must be available at all times. This is particularly true of personal and organizational assignment data.
    If a record is delimited because of time constraint 1, the system displays an appropriate message.
    Time Constraint 2
    No more than one valid record can exist at any one time. Records with constraint 2 must not overlap. Their existence is not obligatory. If a new record is created, the system automatically delimits the previous record, if one exists.
    If a record is delimited because of time constraint 2, the system displays an appropriate message.
    Time Constraint 3
    Any number of valid records can exist at any one time. The individual records do not conflict with each other.

  • Multiple Scopes for the same subnet with Cisco CNR

    I have a requeriment from my internal client that he wants to have  multiple scopes within the same /21  subnet , but he wants to have different scopes for each group of servers ( in the /21 subnet).
    We have 2 Cisco CNR ( I dont know the version they are running because they are managed by an external vendor) but they are in active / standby mode.
    My question is .. it is posible to make the CNR have different scopes (ranges of IP's) for the same subnet ( /21) and assign those based on the client ( I dont know what criteria can be followed .. maybe Mac Address ???).
    I appreciate any help or pointing to the right documentation
    Thank you in advanced

    I don't know that you would want a separate PO print. You can print the same PO print twice to provide a copy for the freight vendor. I think it should be okay as long as it is clear that the PO is with the vendor for the products but there is a condition specifying the freight deal. The second vendor (say the freight vendor) should be okay with this PO as well. I don't remember how the standard SAP PO forms handled the vendor condition but it should be enough I would think. I never came across a separate PO for freight since it is usually an value added service that is an integrated part of shipping goods and the paper-work usually is leveraged from PO, bill-of-lading, etc. SAP will make it difficult if you do need a separate PO since there is no way to use account assignment to material and therefore would need to manually account code and invoice verification, post to a clearing account in FI for re-class to material or charge to internal order with settlement to material or something like this.
    I would just make sure that the PO print makes sense in terms of being able to see the freight charge and maybe the vendor name or something (look at the standard SAP PO form to see what the best practice is).

  • I purchased Adobe photoshop elements II and Adobe premiere elements II. They are both on one disc. My computer crasded and I had to reload Windows. I only have one serial number and it only works with photoshop II. The same serial number will not work for

    I purchased Adobe photoshop elements II and Adobe premiere elements II. They are both on one disc. My computer crasded and I had to reload Windows. I only have one serial number and it only works with photoshop II. The same serial number will not work for Premiere. I dont have any other serial numbers. What do I do???

    Static_Unit
    I am getting a bit concerned about what is happening in your situation. Yesterday you posted your question in at least two different forums, one of them being here in the Premiere Elements Forum.
    Don't Have Serial Number for Premiere, Only Photoshop?
    Wherever you posted, the reply was to contact Adobe via its Adobe Chat. It is the only one who can sort out this matter for you.
    In the thread cited above I offered to help you with the difficulties that you were having visualizing the Adobe Chat in its web page. I was waiting for your follow up on that in the above thread. Instead, I find your same question in a new Adobe Premiere Elements Forum thread this afternoon with no refer the prior threads or prior recommendations given you.
    I will also mention again...when you buy the Photoshop Elements and Premiere Elements bundled in one packaging and with installation files for each on the same installation disc, each program has its own serial number. The Photoshop Elements serial number does not work for Premiere Elements and vice versa. The serial numbers are on labels on a box which houses the installation disc envelope(s). So, if you purchased both programs and found the Photoshop Elements serial number, then the Premiere Elements serial number should be in a label right underneath the label with the serial number for Photoshop Elements. I recall writing this in your yesterday's thread on this matter.
    The moderator will no doubt be along shortly to close or delete this thread. So, just in case, please bookmark your yesterday's thread cited above so that we can continue this communication which is trying to help you.
    Thanks.
    ATR

  • HT4623 I have updated my iphone 5 with IOS7. Now there is an update 7.0.2 on my cell and the size of update file is showing around 21.0 MB. I tried to update it ITunes but it seems it is downloading the entire IOS. Is there any separate update for the sam

    I have updated my iphone 5 with IOS7. Now there is an update 7.0.2 on my cell and the size of update file is showing around 21.0 MB. I tried to update it ITunes but it seems it is downloading the entire IOS. Is there any separate update for the same or I have to download the entire IOS again?

    Well when you download the update with iTunes it will always download the whole new version (in your case 7.0.2) even if its just an bug fix. If you already have 7.0 download the update over-the-air.
    You already wrote that the update is only 21 MB, so its not the whole firmware package of 7.0.2 you get with iTunes.

Maybe you are looking for