How can I name a stack after a string name

Accroding to the strings which I got from the clients,I want to generate some stacks, name these stacks after the content of strings.I try to cast string into stack, but it does not work.
Can anybody give a tip?
Thanks a lot.

Hi,
You got strings from the client in what form? String[] array?
                                    String[] tokens=com.neuralworks.stringio.StringSmith.tokenize(_2ThetaLimits, " ");
                                    Stack<String> lifo=new Stack<String>();
                                    for(int index=0;index<tokens.length;index++)
                                        lifo.push(tokens[index]);
                                    }Something like this?

Similar Messages

  • How can i name the spool

    hi all,
    In the trx SP01, how can i name the spool as per my naming conventions.
    I am running a report in background and want the spool name to name of the PLANT.
    Please let me know.
    Chandan

    Hi,
    Follow the link for details.
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/16c1a8dc4911d299970000e83dd9fc/frameset.htm
    Regards
    Rajesh Kumar

  • How can i recover my voicemails after updating my iPhone?

    How can i recover my voicemails after updating my iPhone?

    When one restores an iPhone from its own backup, visual voicemail is also restored. However, when one restores a new iPhone from a backup from a previous phone, the voicemails fail to restore. This occurred between my 3G to 4s, and again from the 4s to a 5s. Restoring the 4s once from its own backup resulted in voicemail recovery.
    My only explanation is that when a different SIM card is used, voicemails cannot restore as one would otherwise expect. Perhaps voicemails are inexplicably tied to their SIMs. Unfortunately, newer models of iPhones tend to use exceedingly different sizes, rendering one possible fix unpursuable. iBackupBot is the other possible solution: you can extract the voicemails from the backup and restore them onto the new iPhone individually.

  • How can I name my downloads

    How can I name my downloads? I can't find a page that I can change the names from the numbers that are on the downloads when i receive. I want to name them for what they are, so if I need one, I can go to my download file and retrieve it. Secondly...it downloads 2 of each one. I must have hit something wrong the 1st time I downloaded. HELP...I love firefox, but doing the job I do, I get lots of downloads and NEED to name them to keep track of which is which. Thanks you!

    See Tools > Options > General : Downloads : "Always ask me where to save every file"

  • I am using iPhone 5 & 4S with iOS 7.02. May I ask how can my preset alarm ring after I switched off completely my iPhone & how to solve it? Thank u!!

    I am using iPhone 5 & 4S with iOS 7.02. May I ask how can my preset alarm ring after I switched off completely my iPhone & how to solve it? Thank u!!

    http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf
    user guide

  • How can i redownload snow leopard after reinstalling an old version of leopard from disks

    Hi;
    how can i redownload snow leopard after reinstalling an old version of leopard from disks
    I have a mobileme account and an icloud account
    Marcia

    If you have Leopard installed, you can't download anything to get to Snow Leopard.
    In order to do that you must have a Snow Leopard DVD.
    Allan

  • How can i add an Engraving after i order the ipad ( add, not edit)

    how can i add an Engraving after i order the ipad ( add, not edit)

    Sorry, I don't mean to appear rude, but I don't understand the question. What do you mean "how do you call"? You pick up the telphone and call the store's number, just as you would any other person or company.
    None of the Apple Stores have on-line chat.
    Regards.

  • Library recovery: how can I recover a library after I get this message: There was an error opening the database for the library "/Users/Jim/Pictures/Libraries/K2 Library.aplibrary"???

    Library recovery: how can I recover a library after I get this message: "There was an error opening the database for the library “/Users/Jim/Pictures/Libraries/K2 Library.aplibrary”???

    Thanks a lot, Frank. The lsregister did the trick! I am testing this on 10.8.2.
    http://support.apple.com/kb/TA24770 : I deleted the "com.apple.LaunchServices.plist", and restarted the Finder, even logged off and on again; did not change anything. The file has not been recreated, so it may not be used anymore.
    http://itpixie.com/2011/05/fix-duplicate-old-items-open-with-list/#.ULZqa6XAoqY
    The direct "copy and paste" from the post did not work: I had to retype it :
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchSe rvices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
    but then it worked like a charm!
    Cheers
    Léonie
    And btw: I turned on the "-v" option for the lsregister to see, what was going on, and saw plenty of error messages (error -10811); so I repeated the command with "sudo". After that I still saw five iPhotos. Repeating as regular user finally got rid of the redundant iPhoto entries. It looks like registering as super user may be causing this trouble.

  • How can i access mocha in after effects cs6

    how can i access mocha in after effects cs6

    To use mocha AE in After Effects CS6, select the item to track and choose Animation > Track in mocha AE.

  • How can I name a button/movie so that an external script can read it?

    Hi,
    I have a javascript on my website that is called on any click. The script reads the name of the clicked item. This works fine for all jpg/gif images with a name, but how can I name a flash movie in such a way that this script can read it? I tried several things, the name (and id) in the published parameters, the name of the instance, of the button, etc. But nothing works?
    The external javascript is this:
    var theName;
    function grabName(e){
    var targ;
    if (!e) var e = window.event;
    if (e.target) targ = e.target;
    else if (e.srcElement) targ = e.srcElement;
    if (targ.nodeType == 3) {targ = targ.parentNode;}
    theName=targ.name;
    if(theName){GoogleCounter(theName);}
    document.onclick=grabName;
    Thanks,
    Irene

    You should look into using the ExternalInterface class to have Flash talk to javascript in the web page that contains it.  Here's a link that provides some information on that...
    http://kb2.adobe.com/cps/156/tn_15683.html

  • Hi there , i wanna ask how can i import my bookmark after format ? i've a back up in time meachin but where should i go to get mu old book mark ??

    hi there , i wanna ask how can i import my bookmark after format ? i've a back up in time machine but where should i go to get my old book mark ??
    plz help

    See:
    *https://support.mozilla.com/kb/Recovering+important+data+from+an+old+profile
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • How can I name a video on my iPad without using a computer?

    How can I name a video on my iPad without using a computer?

    If the film has been fully downloaded to your iPad (or you've synced it from your computer's iTunes) then it should be in its Videos app, and you should be able to watch the film in that app without needing to be online

  • My ipad tells me that my icloud email is already used.  That is true.  The one whom it is assigned to is me.  How can I get it back after deleting it?

    My ipad tells me that my icloud email is already used.  That is true.  The one whom it is assigned to is me.  How can I get it back after deleting it?

    Deleting an email account for the the mail app will not have any effect on ther AppleId and its use for other services. You need to delete the old ID and set up the new one for other services suxch as FaceTime, App store, etc.
    It sounds like you are trying to set up a new ID rather that just adding your old one back in. Or maybe I'm missing something.

  • How can i get songs back after erase and sync?

    How can i get songs back after pressing erase and sync by mistake?

    If they are no longer stored in your iTunes library and were only on your iPod, I'm afraid you are out of luck.  Sorry.
    B-rock

  • HT4623 How can I activate my iphone after i upgraded it?

    How can I activate my iphone after i upgraded it?

    riveranaruth  see the thread you started
    https://discussions.apple.com/thread/4868478

  • How can I reload photoshop cc after uninstalling because of crash

    how can I reload photoshop cc after uninstalling because it kept crashing and wouldn't stay on the desktop

    You've been very terse.  Won't it just reinstall?
    If not, Adobe makes a cleaner tool that does a more thorough job than the installer...
    http://www.adobe.com/support/contact/cscleanertool.html
    -Noel

Maybe you are looking for