What kind of collection show I use?

if I want the data always stored in ascending order in the collection, what kind of data structure should I use? is there something like binary tree in java?
thanks!
null

http://java.sun.com/j2se/1.4.2/docs/api/java/util/TreeMap.html if you need SortedMap behaviour
http://java.sun.com/j2se/1.4.2/docs/api/java/util/TreeSet.html if you need SortedSet behaviour

Similar Messages

  • What type of collection can I use to store a word and a string as it's valu

    I am writing a grammar checking application. What kind of collection can I use to store the word and the type of word as it's value.
    e.g.(book = noun) (clean = adjetive) (of = predicate) (took = verb)
    or should I use a collection as they type and add the words in each different collection?
    you advice is greatly appreciated.
    thanks,
    steve

    class "Contradiction" contains two variables, the String and what Type was assumed
    Algorithm:
    Parse out next word
    Find all possible meanings/types of word
    Assume first meaning is true, continue (think [push])
    If clause, call clauseParse all over again (think [push])
    Return parsed structure when done, (think [pop])
    If Contradiction rises to top of sentence, there is a grammer problem. Now switch into grammer correction mode.
    If a word can be interpreted two different ways, don't worry about it as long as it's right either way.
    To test for similar-sounding words, use something like SoundX
    _Tim                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • What kind of database the SSMA uses to store metadata in the file named "source-metabase.mb" ?

    What kind of database the SSMA uses to store metadata in the file named "source-metabase.mb" ?
    I'm looking for the method to open the file and add 'cutom migration script' (some automatization).

    Hi Poman.Pokrovskij,
    When you generate SSMA Assessment Report, there are several files created and saved into Report folder under your SSMA project folder. It includes
    source-metabase.mb, project-container.mappings, preferences.prefs, and so on.
    . MD files are usually saved in plain text format including inline text symbols, defining how a text is formatted such as the indentations, its table formatting, fonts, and headers.
    SSMA provides a project setting that allow you to customize how to set customized database migration. For example, to customize data migration SQL statement, you can modify project setting by navigating to Tools and choosing Project Settings,
    then looking for the setting for
    Extended Data Migration Options and change the value to
    Show. You can select use custom select and modify the SQL statement.
    For more information about SSMA for Oracle, you can review the following articles.How To Perform Incremental Data Migration Using SSMA:
    http://blogs.msdn.com/b/ssma/archive/2010/10/04/how-to-perform-incremental-data-migration-using-ssma.aspx
    Using SSMA Project Setting to Customize Database Migration:
    http://blogs.msdn.com/b/ssma/archive/2011/03/16/using-ssma-project-setting-to-customize-database-migration.aspx?Redirected=true
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • I have a videocamera minidv what kind of cable i had used to import the movie?, I have a videocamera minidv what kind of cable i had used to import the movie?

    I have a videocamera minidv what kind of cable i had used to import the movie?

    Which MiniDV Video Camera?
    What version iMovie do you have on your Mac?
    For starters, have a look at > Apple - Support - iMovie

  • How can I find out what kind of battery my computer uses in order to buy a replacement?

    I purchased a new Macbook Pro 13" in January 2012. Unfortunately, I did not purchase Apple Care. My trackpad seems to have taken on a life of it's own. I'm guessing this is due to a swollen battery. How can I find out what kind of battery my computer uses in order to buy a replacement?

    Take a look at this link, http://store.apple.com/us/search/macbook-pro-battery-replacement?mco=Nzc1MjMwNg
    This is the MacBook Pro repair answers, http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=Macn otebooks

  • What kind of mouse do you use?

    The trusty Logitech wireless mouse that I've used for about 5 years now is nearing the end of its life and I'm looking for suggestions on a replacement. The Arc Mouse by Microsoft has received some nice reviews; so far it's at the top of my list.
    Simple question, what kind of mouse do you use now?

    I'd vote Logitech's Performance MX mouse all the way! (assuming that you are right handed though, it is really made for right-hand use only)
    Love them!
    It is a cordless, rechargeable design with a laser that works on just about any surface, even glass. The scroll wheel is butter smooth and has inertia for massive scrolls.
    This is one of the most expensive options out there, but IMHO so worth it.
    Regards,
    Jim

  • I want to create a 5" x 7" multiple page booklet in Pages  what kind of template do I use to make sure the information is on the right page and will print on the proper sheets?

    I want to create a 5" x 7" multiple page booklet in Pages.  What kind of template do I use so the text prints in order on the pages and on the right sheets?  HELP!!!!

    While there are templates available for several n page booklets, using them requires a separate template for each size (in pages) booklet you'll want to make.
    A better method is to use some form of imposition software for mac that will do the imposing (placing each page on the correct sheet) using a copy of your content, printed to a PDF document. The link is to a Google search using that phrase as the search term.
    For a more detailed discussion of imposition and some of the available software, see Peter Breis's post "imposing booklets" at the iWork Tips & Tricks site. (Scroll down)
    Regards,
    Barry

  • What kind of transport request is used to transport custom table contents ?

    What kind of transport request is used to transport custom table contents ?
    Also what kind of transport request is used to transport SAP standard table contents ?

    Create Workbench request only.
    Because when u will transport the table from development server to quality that time table records won't transport.
    We don't have any TR type to transport table with records.
    If usefull reward points helpfull.....
    Regards,
    Rajneesh Gupta

  • What kind of cloth do I use to clean my iPod nano?

    I just got my white nano this morning, and I've been reading all these terrible stories about people cleaning their nano with a cloth only to scratch it up terribly. So, what kind of cloth should I use then? And where would I get it? I heard people talk about displex (sp?) to remove scratches. Does anyone have first hand knowledge that it really works?
    Thanks!

    AFter I wiped kleenex tissue to clean the fingerprints off my nano, I looked and saw many little scrathes that werent there before. THe sratches were only visible when you looked at the nano at a certain angle and under a certain amount of light. I suppose the scrathes were made because of the little particles in the kleenex tissue. Unfortunatly, the little particles were also left behind on the nano after wiping it so it got annoying having to wipe the particles off.

  • What kind of camera can I use??????

    I need to measure crack length in fatigue test of an Aluminium sample automatically. For example, the camera can take shots (Images) every 4000 cycles (fatigue load cycles), maybe more cycles.
    For my test, I need to measure both sides crack length (right side and left side of specimen centre line), shown in Fig1.  So I need to take shots both crack tips at the same time, which means camera must have a large field view and the resolution should measure 0.01mm, to see both crack tips clearly. At the end, I must be able to acquire images from Labview. I can save all the images into my fold from Labview, then I can measure crack lengths in left and right side from every image.  Fig1. sample size and crack tip
    Would you please give me any suggestions on the characteristic/specifications of this kind of camera?
     What kind of camera can I use? How much this kind of camera? Where can I order this kind of camera?
    Attachments:
    camera-Fig13.jpg ‏16 KB

    Hi Cran.
    You might want to put this topic into the Hardware Forum instead.
    It seems that this isn't much of a LabView question......
    Regards BCL
    Don't forget to rate a good Answer....
    Here should be some cool signature
    But there's NOT
    LV7Express, LV8.5.1

  • What kind of cable can I use?

    Hello,
    I recently bought an iMac and I was wondering what kind of cable can I use to connect it to my Macbook Air so that I'll be able to transfer my files faster.
    Any links to a website that has a picture or actually sells the appropriate cable would be greatly appreciated as I currently live Paris and communicating with store clerks is a mission in and of itself!
    Thanks a lot.

    get the usb-ethernet adapter for the MBA and then an ethernet cable to attach the two computers. OR: create a computer to computer wireless airport connection so that the computers can access the N wireless network both are capable of but some routers are not. If the MBA is the more recent revision, you may have gotten the usb-ethernet adapter included in the package; otherwise, it can be purchased from the Apple Store. The ethernet cables are standard and can be obtained from any computer store. No need for anything special like crossover cables, macs connect directly with a standard cable.
    I tried to transfer files quickly via a simple 802.11g wireless LAN I had set up via a router but it was so slow that I set up the c to c network via the menubar airport menu and was able to quickly copy and transfer files via the 802.11n that the airport hardware provides when something else does not interfere with the speed that the macs are capable of wirelessly.
    Message was edited by: Rhyd
    Message was edited by: Rhyd

  • What kind of convertor can I use with my I mac in Israel?

    What kind of convertor can I use with my I Mac in Israel?

    What do you want to convert? More details about what you are trying to do would help.

  • What kind of printer would you use to print on a lorry?

    Hi,
    One of my client sells items from the lorry, so he wants his drivers to print invoices on the way. My question is what kind of printer would you use to print on a lorry? Any idea, experience?
    Thx in advance,
    Laci

    Hi Laci,
    There are quite a few mobile printers, for example HP does a range of battery powered Officejet printers which you could use on the go. For instance, check this out:
    http://www.shopping.hp.com/product/CB026A%2523B1H
    I hope this helps!
    xx Nat

  • What kind of adhesive does Apple use?

    The bottom case of my TiBook is a little loose at the battery corner. When I type and rest my palms on the top case, it kind of "pops" or "clicks" a bit as the pressure moves the top and bottom cases together. It's not a big deal, but it's annoying enough to want to fix. I tried to get the folks at my local Apple repair center to deal with it under Applecare (I have about a month left.) They said it wasn't a warrantied problem, but they did offer to glue it for free. I didn't think that was a good idea, so I declined. I have since been told that Apple glued the bottom cases of the TiBook to the frame at the factory, so that would have been the appropriate repair.
    If that's true, what kind of adhesive did Apple use for that, and exactly where was the glue applied? It must have been a prettty strong glue, and sparsely applied, as I didn't see any traces of it when I took the bottom off the computer. In any event, if gluing is the right move, I'd just as soon do it myself. The repair center would take at least a week, since they're usually so backed up. But I don't want to use anything that might damage the case or leak into anything.
    Thanks in advance for your help.

    The metal skin is really glued around the edge by a plastic frame. It is this frame that holds the skin to the main frame and can give problems.
    I had to open my ti case to install an airport card. I either did it wrong or the apple glue job was poor because the gray plastic trim around the edge of the metal skin had come loose over 50% of the circumference.
    I had a commercial 3M rubber cement on hand so I used that. I applied it with a toothpick very sparingly (of course the rubber cement gets stringy so the job was a ittle messy).
    I let dry in a warm room for 24 hours. The reason I did that was fumes from curing glue can be caustic and attack some very thin metals etc. I fugured I wanted to lose any fumes before I trapped them in the warm computer.
    It worked well and I haven't had a repeat of the problem.

  • Snapmirror: What kind of checksum does it use and is there a way to manually verify it?

    Two questions:
    1. I have been searching but unable to find what kind of checksum snapmirror uses to verify its copies. Can anyone tell me? If there is a technical document explaining it, that would be perfect.
    2. Is there a way to manually verify, or display the checksum verification, of a recent snapmirror? Or manually run the checksum verification between the source and destination volumes without having to mount them to, say, a linux server and run an MD5 on them?Reason im asking is that I have some executives that are using an application and its data is now the most important thing to this company...more important than the environment itself. They are asking for this data to be copied from one place to another and then a visual verification of some kind showing that the two match, every 30 days. I say Snapmirror because i know it uses a checksum verification and there we have the copy and the verification in one. I can tell them that if the checksum fails, we will get an email alert that the snapmirror failed. But they want the visual "yes" every time, instead of the silence of a "yes" and a loud "no."

    Hi,  Hope this information helps https://library.netapp.com/ecmdocs/ECMP1217281/html/GUID-1F9937B1-098D-4CBE-802E-2D97E1E2DB3D.html  Thanks

Maybe you are looking for

  • Unable to Print Dunning Notice due to Payment menthods

    Hi Gurus, I had configured Dunning and also attached payment methods to the Customer Master. When I run Dunning, even though the procedure is completed, I am unable to see the Dunning notice. When I remove the payment methods, I am able to generate t

  • Looking for a list of Creative players that support subscription music.

    I currently have a 40 GB Touch that I'm very happy with now that it has subscription music support. I'd like to get my daughter a player for Xmas and get her a subscription of her own so I don't have her music downloading to my machine every time I l

  • Trouble with Acrobat XI in Windows 7

    I have been using Acrobat XI for some months and it stopped working in Windows 7 Premium Edition. Microsoft pop up says it is incompatable, something about EULA. I have reloaded a couple of times and disabled Macafee during the download/set up. What

  • Photoshop Crahes when opening. Unknown bug. No solution on the net

    Photoshop CS5 crashes upon opening. Crashes immdiately. Not a font type bug. Simple bug, but har to fix it seems. Here is the crash report. Process:         Adobe Photoshop CS5 [596] Path:            /Applications/Adobe Photoshop CS5/Adobe Photoshop

  • Full Crash! Keynote06

    I have a full crash when I want to see "Moderatorennotizen einblenden". I have to switch off my powerbook and start again.