If you are not using J2SE 1.4 - OrderedMap - (maintains order of insertion)

Hi,
If you are not using J2SE 1.4 and still want to maintain the order of insertion unlike HashMap or Hashtable(which doesn't allow)
OrderedMap comes to resue!
import java.util.ArrayList;
import java.util.List;
import java.util.TreeMap;
public final class OrderedMap extends TreeMap {
     private List list= new ArrayList();
     public OrderedMap() {
     public Object put(Object key, Object value) {
          list.add(key);
          return super.put(key, value);
     public List getKeysList() {
          return list;
};;Mail me how to use it!
Bye
tuniki
[email protected]

Hi, Dude!
Probably you have to read the subject b4 posting something!
(Re: If you are not using J2SE 1.4 ->OrderedMap ->(maintains order of insertion))
Tuniki
[email protected]

Similar Messages

  • 'You Are Not Using The Correct Type of Phone Cord' Error

    Having a issue with my fax on my HP Officejet Pro 8500 wireless.  Tried to send a fax, it  received a send error.  I ran fax test and it came back with "You are not using the correct type of phone cord".  Nothing has changed since I last fax'd but I check the lines and connection, everything appears ok.  Phone jack is connected to 1-line and Officejet '2-ext' is connected to the phone.  I use a dedicated phone # and the Officejet is set to auto answer.   I can call out and receive calls on the phone connect to the Officejet.  My assumption is that since I can use the phone without issue there is nothing wrong with the phone line.  Any ideas?
    This question was solved.
    View Solution.

    I was having the same problem.  I'm using a the 2 wire phone cord provided with the printer and still getting this error.  Turns out that it related to have a phone extension plugged into the printer.  If I unplug the telephone form the extension jack on the back of the printer, then the fax test passes.   I was even using a 2 wire cord on the phone extension but it seems that simply having a telephone plugged into the extension jack will cause this error. 
    Run the test without a telephone plugged into the printer's extension jack and you should be fine.
    Worked for me!

  • Does windows and mac run continuously using parallel, or is there some way to stop xp from running if you are not using it?

    I would like to run a few windows programs but I dont want the mac side to suffer when i am not using the windows os.  Is there some way to shutdown the windows part when you are not using?

    If you are running MS Windows in Parallels or Fusion or any other virtualization  software  you can shut it down while the machine is operating and still run OS X. There is no trick, you shut down MS Windows just like you would with any other MS Windows machine. That is one of the main advantages of virtualizaiton software, the ability to run both environments simultaneously if you want. If you don't want to run Windows then simply don't start the virtualizaiton software or if it's already running quit it like you do any app on a Mac.

  • Got a bug saying You are not using af:panelFormLayout which you must ??

    Hi
    I have got a bug saying You are not using af:panelFormLayout which you MUST. The label colors dont match standards, and the spacing between controls doesn't match standards. We need all pages to use the default ADF controls inorder to ensure consistency throughout application.
    In my page there are lot of panelGroupLayouts, Am i supposed to change all of them to panelFormLayout.
    If not , what exactly am i expected to do??
    Thanks a lot in advance
    Sajith

    As Frank already said, this must be a rule your company added to the code audit rules. It's not up to us to decide is you have to change all panelGroupLayout to panelFormLayout.
    You should try to find out why you get the message in the first place (or who added the audit rule to use panelFormLayout).
    Timo

  • Has anyone seen their iPads using your wifi non-stop, even if you are not using it, even when it's closed with the smart cover?

    Lately my internet usage is up to the roof. I though somebody was hacking my wireless router so I made it super safe with lots of restrictions.
    But that didn't stop the download of stuff over my wireless network. When I monitor who or what is using my wirelss, only my iPad was on, so, the moment I turn the wifi off on my ipad, the download stop. Turn it back on, it goes like crazy sucking up data off my wireless router for no reason. There is no indicator that the iPad is using the wireless yet, it is my iPad downloading things that I can't even seen, it does even with smart cover on!!!!. It's been over 50GB in only three days. I don't even have that amount of data on iCloud.  This began a few days later after I upgraded my iOS to 6. But also, I'm thinking it could be an app that I installed. Or is it possible someone can use my iPad as a middle point to access my router and steal my internet. I have restored the OS on the iPad and it keeps doing it. Anyone has experienced something similar?

    I'm going to guess that your battery life is also not so hot.  What I suspect is happening is thatbthe pad is locked into an update loop with I cloud.  As an example, if you have addresses that do not agree, the cloud back up will continue to try and correct itself, using both battery and wifi ( or cell).   It may also be an app trying to uzpdate itself.
    To troubleshot, try turning thigs off.  If you are using the cloud, turn off all syncing and see it the problem stops.  Then turn them back on, one by one, until you find the culprit.  If it is an app, it may be harder to find, but the steps are the same.  Turn off all notifications, and uninstall anything you added around the time the problem started.  
    A frequent culprit is magazine, comic, and newspaper subscriptions, that are constantly trying to update themselves.
    Keep looking, you will find it.

  • "Your Mac OS X start up disk has no more space available for application memory. To avoid problems with your computer, quit any applications you are not using. Closing windows and removing files from your start up disk will also help -  ????

    I am still having trouble with my iMac since I last spoke with you guys about 2 weeks ago. Sorry to take so long to get back to you (things were a little wonky around here). Anyway, I did try running in Safe Mode, as Bob suggested but I continued to have the same problems. Strangely, the original message did not reappear, and has not popped up since the first time I wrote about it. However, the computer is still showing all the same problems. It is running slow, stalling in the middle of games, Youtube etc. I'm getting really sick of seeing that spinning color wheel every time I turn it on. Any advice you can give will be greatly appreciated & thank you all for all the tips and advice with my first posting.
    JT

    Freeing Up Space on The Hard Drive
      1. See Lion/Mountain Lion's Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?.
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
    Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located.

  • For 2nd time today I have restarted Firefox & upgraded to 6.0.2 BUT when I go back into Firefox it states You are not using the latest version, please Upgrade

    After Firefox has been opened once and then you try and open it again, a message appears stating - Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your computer. It is then NOT possible to close Firefox, so I restart the computer, but before it will allow that I have to force - End Program - NetscapeDispatchWnd - End Now.

    See [[Firefox is already running but is not responding]].

  • On i-pad, when try to enable itunes match, it says, "you are not currently subscribed to iTunes Match. Use iTunes on your computer to subscribe." I am subscribed though! Then it says no my request and item not available in the U.S. store. WWJD?

    On i-pad, when I try to enable itunes match, it says, "you are not currently subscribed to iTunes Match. Use iTunes on your computer to subscribe." I am subscribed though! Then it says no to my request and, "item not available in the U.S. store." My Mac will not use update iTunes to any later version than the one I have because my os is also out of date, but when I try to update that i cant, so what do I have to do?  Please don't tell me I have to buy a new Mac to be up to date.

    On the iOS device you must be logged into the store with the exact same Apple ID you used to originally purchase the service. Go to Setting > iTunes & App Stores and if necessary sign out/in and then enable iTM.

  • You are not registered to use this service

    We have everything with BT including a new TV box with netflix etc, which is currently at the end of the 14 day cooling off period. If the following problem isn't resolved today I will be considering cancelling the TV contract and leaving BT all together.
    Our phone was working ok on the 15/4/2015. I tried to dial a local number last night (16/4/2015) to hear 'you are not registered to use this service please contact your service provider'. I dialled again with the area code, same thing. Also with national and mobile calls. We can receive incoming calls. I rang the Indian call centre who said there is no problem with the line or the account (which is in credit) it must be the handset. I am waiting for them to ring me back but having searched the problem online I think this will be to no avail. I have read about prefixing phone numbers with 1280 and this has worked when trying to ring my own mobile, so it can't be a problem with the handset, can it?
    I've seen it could be a problem with Indirect Access IDA being removed from my account (no idea how this might happen). I also know that there was a major outage last week (around 6/4/2015) in our area which led to the freeview HD channels not being available. I had to reset our router which cleared the problem but were Openreach in our area doing something to the exchange boxes etc?
    I need this problem sorting out A.S.A.P. please.

    The fact that if you use 1280 it allows successful calls suggests your line is set as CPS , carrier pre select, if this has just happened it suggests a CPS provider has taken your 'line' for calls if not for line rental, but it's not properly set up otherwise calls would terminate it would just be billed by the mystery CPS provider
    Have you had any approach by company's that sell this product ?, sometimes ISP's who's product includes calls can use CPS, if not, and you haven't been 'slammed' you need BT to set your line as non CPS , so BT handle your calls automatically without using 1280
    This should be easy to get done, but the drones that answer the calls probably won't have a clue, hence the 'it must be your handset' nonsense they come up with, report the line faulty,don't accept an appointment, and insist they sent the problem to what was once called BT Operate, they look after the telephone exchange equipment and it's 'data',

  • I'm trying to get into game center to download some things. Enter user id/password then keep getting a "you are not part of this/the administrator group" then a cancel or retry command. What do I do? (I am using a friends wi-fi) What d

    I am trying to get into the Game Center and download some apps. I enter my user id/password the keep getting a "you are not part of the/this administrators group" message then a cancel/retry command. What do I do to become part of this/the administrators group? I am using a friend's wi-fi...Help!

    I am trying to get into the Game Center and download some apps. I enter my user id/password the keep getting a "you are not part of the/this administrators group" message then a cancel/retry command. What do I do to become part of this/the administrators group? I am using a friend's wi-fi...Help!

  • TS2776 I purchased an Itune Audio Book using a borrowed Windows Computer and Downloaded the book to that Computer. I than tried to sync to my IPod Nano (7). I received an error Message " THe [title] was not copied to the Ipod [name] Becuase you are not au

    I purchasd an ITune Audio Book using a borrowed Windows Computer. After the Download I attempted to Sync and was told that I was synced to a different [something]. It then asked if I wanted to sync to this [Something] I said yes. IT wiped all the stuff off my IPod then gave the following message:
    The [title] was not copied to the iPod [name] becuse you are not authorized for it on this computer.
    How can I get this to work?
    It considered the computer pretty acceptable when it took my money for the title. I think I have been ripped off.
    THis whole SYNC is an innecessay step. Why can't I just download stuff to my iPod (from any sourch by the way) and delete it from my iPod when I don't want it any more.

    Hello LeaMinovitch,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iTunes Store: Authorize or deauthorize your Mac or PC
    http://support.apple.com/kb/ht1420
    To authorize a computer, follow these steps:
    Open iTunes.
    Choose Store > Authorize This Computer from the menu bar.
    You may need to show the menu bar to see this option in Windows. In earlier versions of iTunes, you can access this option from the Advanced menu.
    Enter your Apple ID and click Authorize.
    If your Apple ID uses an expired MobileMe account, you can still authorize your computer.
    In some cases, iTunes may ask you to authorize the computer again. iTunes should use the same authorization as before if the computer is in your list of authorized computers.
    Learn what to do if iTunes repeatedly asks you to authorize when you try to play your content.
    Best of luck,
    Mario

  • I keep getting the following error message---"We're sorry but the Safari browser version you are currently using does not support the community toolbar."

    When I log in I get this message I keep getting the following error message---"We're sorry but the Safari browser version you are currently using does not support the community toolbar."
    Also, I can seem to down load my Adobe Flash, I did download what I thought was the correct down load for Safari, but I'm still getting this message "We're sorry but the Safari browser version you are currently using does not support the community toolbar."  I was even going to purchase the Leopard for 29.99 to see would this solve my problem but I want to purchase another pc and sale this one, can you help me?
    Thank you

    See this link.
    Also look at More Like This on the right side of these pages for realted threads on this topic (and on the pages those link to).

  • HT4623 Hi. After I updated ios6, I couldn't use my cellular network. It said "could not activate cellular data network - You are not subscribed to a cellular data service". I don't know why. My iphone is 4s

    Hi. After I updated ios6, I couldn't use my cellular network. It said "could not activate cellular data network - You are not subscribed to a cellular data service". I don't know why. My iphone is 4s

    Contact your carrier to ensure data access via their network is provisioned properly for your account and iPhone with the new iOS 6 update installed.

  • When I start my computer the safari icon jumps up and down and i get a note: 'Community Toolbar' I'm sorry, but Safari browser version you are currently using does not support the community toolbar.  How do i get rid of this

    when I start my computer the safari icon jumps up and down and i get a note: 'Community Toolbar' I'm sorry, but Safari browser version you are currently using does not support the community toolbar.  How do i get rid of this?

    Carolyn Samit has answered this question before.  I did it with this info.  Thank you Carolyn for your awesome help.

  • You are not authorized to display the case component, when using copy

    I copied the standard UDM_SPS_CASE_RECORD and created a Z version with no changes, in addition also copied the standard Case Record model with no changes. I have entered my new case record model into my new element and tied both the to case type. When trying to create a case get a message "You are not authorized to display the case component"
    SU53 looks good, and BASIS did a Trace and did not see anything.
    When I change the configuration back to use the standard no issues and case is created. Anybody know what the issue might be?
    Thanks

    dear friend,
    when you get this error on screen type /NSU53 , hit Enter and get a new screenshot
    if you see the message ""The last  authorization check was successful" that means nothing to do with Basis team, it could be a custom message - talk to abaper ;
    but if you see some objects there (Authorization check failed) - please pass to security or basis guys
    ask / try another user which hasn'rt such error and comare the roles you and he/she has - try to find out the difference
    good luck!

Maybe you are looking for

  • Dynamic configuration of connection JNDI name in adapter service

    I have a requirement to connect to multiple E-Business Suite instances and databases based on data in the message. I've created some adapter services, and it seems that the way each adapter service decides which instance to connect with is in the WSD

  • 404 not found when trying to make outbound calls

    Hi. Just got skype for business, incoming calls working fine but cannot get outbound to work. Any ideas?      Call-ID: YzUwYWZiNDRlMTc0NzhlNDlmYjExMmRjNWFmZDE3M2Q.      CSeq: 1 INVITE      Session-Expires: 1800      Accept: application/sdp, message/s

  • Timeline errors

    My Timeline menu is grayed out and every time I try to add an object it comes up with an error message that says While executing DWContext_Timeline_AddObject command in menus.xml, the following JavaScript error(s) occurred: The function addObject() i

  • Loading external swf and Roll_OVER ROLL_OUT Events...

    Hi. Suppose the following scenario: My application has some handlers attached for the rollover and rollout events. the seem to work pretty fine. But i have to add into my application an swf, so i add it using an Image Object. This new Image Object co

  • Create an additional website to one already have... and add paypal?

    Hello I already have a website created in iweb for my business and it works brilliantly. My dad now wants me to create him one for his business. Can i create another one on my iweb programme or will this erase my own site? My brother also has a mac,