Is it possible to make an ArrayList hold Strings?

I know Strings are objects in Java, so an ArrayList should be able to hold them, I've been trying some casting...not too much luck.
String s;
s = (String)Lists.bans.get(v);Tried without the (String) there, didn't help.
It's Lists.bans because that class is abstract so it's easier to access.
v is a variable for counting in my for loop, so it keeps checking
I know my problem isn't in Lists.bans.get(v); it's in s =
Just can't think of what to do...
BTW, I haven't even tried to 'add' a String to that list yet in my code, but I don't think that'll be much of a problem once I have this fixed.
Thanks!

My biggest appologies...my Java compiler was just giving me a hard time.
No more errors...
s = (String)Lists.bans.get(v)
works now...
Thanks...not sure for what, but thanks tehehehe

Similar Messages

  • Not possible to make full check in email client?

    HI,
    I saw that doesn't exist the possibility to make a "full check - check all" into the email settings. 
    Is nice that the checks can be done individually, but I think will be useful to have a "check all" option, in case that you want to move all emails into another folder for example (supposing that you have hundreds of emails, which is another issue because the email client is not able to save the received messages)

    You can check all in the Hub for emails or text to mark them read or delete, but no option to move all.  Just click an hold on the date and slider appears on the right to Mark all read or delete.

  • Is it possible to make an alert message.

    Hi,
    Anyone knows if it Is possible to make an alert-message that pops up ( f.e as a little window) on a specific day to remember me of something I have to do that day?
    Would be handy.
    Is this possible with Tiger or is there a third party application that does the trick?
    Thanks in advance.

    Try a free widget called quikAlert
    http://www.apple.com/downloads/dashboard/business/qwikalert.html
    Regards
    TD

  • Is it possible to make a copy of the Leopard install DVD?

    Is it possible to make a copy of the Leopard install DVD? If so, is there a special way this has to be done? I just found out that we needed to use the Leopard install DVD to recover a complete backup from Time Machine after a recent hard drive failure. We have the family pack of Leopard, so I would like to keep the original at home and send a copy when my daughter goes off to college in case she needs to recover again. Her machine was originally a Tiger MacBook, so those install disks will not work. If it is not possible to copy the DVD, is there a way to create a bootable utility to do a time machine recovery?

    This half-solved my problem. I have had no problems creating a backup copy for my intel based computers, but non-intel based computers are problematic; a G5 powermac tower and a G4 Powerbook. Both with super drives for single density burning. Both have Leopard running, installed from an install disc purchased from Apple. However, neither will mount the copy, but intel based computers will. have burnt/burned with both toast 9 and Disc Utility. Discs won't mount and are "spit out" by the drive.
    Power Mac G5 OS X: 10.5.4
    Model Identifier: PowerMac7,3
    Processor Name: PowerPC G5 (3.0)
    Processor Speed: 2 GHz
    Number Of CPUs: 2
    L2 Cache (per CPU): 512 KB
    Memory: 1.5 GB
    Bus Speed: 1 GHz
    Boot ROM Version: 5.1.8f7
    Any thoughts?
    -Jim

  • I am trying to find out if I can change a setting of the calendar in my iPhone.   When I view calendar, in month, I would like to view it with the starting day of the week being Monday, not Sunday.  Is it possible to make this change? SS

    I am trying to find out if I can change a setting of the calendar in my iPhone. 
    When I view calendar, in month, I would like to view it with the starting day of the week being Monday, not Sunday.  Is it possible to make this change?

    Hello SMEvans32
    You can use iCloud to share the Calendar, that way she will always be up to date on that particular section of your work calendar. If you want to use iCloud, I would recommend backing up so you have a safe copy of your data.
    iCloud: Calendar sharing overview
    http://support.apple.com/kb/PH2689
    iCloud Setup
    http://www.apple.com/icloud/setup/
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Top-Level Navigation Bar - Is it possible to make it 3 levels?

    Dear Portal Experts,
    Could someone please advise if it is possible to make the Top-Level Navigation Bar show more than 2 menu levels?  I looked at the document and it said we can only have 1 or 2 levels.  But I'm just wondering if there is any way around it.  Thanks.

    yes you are right .we can set only 1 0r 2 levels but good news is there is a workaround
    follow this blog
    Tag  Libraries: Creating a Hover Menu in SAP NetWeaver Portal
    reward points if helpful

  • Is it possible to make a type cast in TestStand?

    I've got the following problem.
    I use a receive function which waits for an undefined package. (struct package).
    The problem is i can't specify the module with the exaxt package.
    Generally in C i define a Pointer and create enough buffer for it. Is it the same in TestStand?
    Is it possible to make a type cast?
    for example:
    i've got these packages
    struct packet;
    struct  data;
    the function does not know which structure to receive.
    err = receive(buffer,maxlen);
    how do i specify the buffer variable?
    can i create a type "void" with a String to have enough buffer.
    and then to make a type cast, for example "Locals.dataobject = ((data)Locals.buffer)"
    any ideas?
    thx for help

    Unfortunately there is no way to do type-casts in TestStand. What you could do is write a wrapper-dll in C, that has for example two parameters for both possible structs. The dll then takes one of the parameters, does the typecast and passes it on to your original dll.
    From TestStand you can pass the struct(or better container in the "TestStand language") you want to use to the accoridng parameter of the wrapper-dll, leaving the other parameter empty or with some default-value.
    Hope this helps!
    André

  • Hi, can I move my iTunes library to an external hardrive without having to consolidate it as my prehistoric computer just doesn't have the space even though I have deleted everything possible to make room? Please help :(

    Hi, can I move my iTunes library to an external drive without having to consolidate it as my prehistoric computer just doesn't have enough space even though I have deleted everything possible to make room? Please help

    Hi, do you know if this works if I then want to move my library to a new computer as that is my main intention bacause my old computer hasn't got enough space for me to add new albums so I want to ditch the computer (its got to be about 100 years old and doesn't seem to cope well with modern technology!!) and start using my laptop for my iTunes. I am at the point now where i'm ready to throw both my computer and iPod out the window!!!! I might point out as well that in trying to clear space on my computer I accidently deleted the Bonjour programme which is aparently needed to use the home share option, oops!!!!
    Thanks, Kerry

  • Is it possible to make two type of partitions onto an external drive?

    Hi,
    I'm on an intel iMac using Tiger and I know to back up my hard drive I need to choose the GUID partition and Mac OS Extended (Journaled) in order to be able to boot from the partition.
    So if I make 4 partitions is it possible to make 3 partitions GUID Mac Extended (Journaled) and then make 1 that is Apple Partition Map? I tried it and I couldn't figure it out using my Tiger Install disk and selecting Disk Utility option.
    My sister is using a Powerbook PC G4 also using Tiger and I want to make a bootable copy for her as well but just wondering if this can be done?
    S.

    Niel,
    Thanks, so if I format it all as APM I can either clone OSX 10.4.11 which I have on my internal now. If I do a backup of my intel and Powerbook PC both of those will already have Tiger on them so do I need to do another Tiger install on each of those partitions?
    Also by doing it this way I can't boot from a parition onto my intel can I?
    Guess I'll have to weigh whose system is more important or just back up her drive as GUID on my computer and she can restore from it if she has too but won't be able to boot from it.
    S.

  • Is it possible to make a partition in Windows 7 and then place OS X on that partition?

    My employer just gave me a new MBP 13" with Windows 7 on it.  It has bootcamp running, but no option to boot in Mac OS.  IT dept. said they deleted Mac OSX Lion due to security concerns (?).  In any case, as I travel quite a bit and have and ipad and iphone, I would like to use Mac OSX for personal use and Windows 7 for work.
    Is it possible to make a partition in Windows 7 and then place Mac OSX Lion on the partition so that I do not need to reinstall Windows?   I know it would be possible to wipe the HDD and then add Mac OS, then bootcamp, then Windows 7, but adding again would get my IT dept involved which would put me back to square one.
    Any help would be appreciated!!
    JF

    Ok let me ask you IF the IT department of your workplace does NOT want OS X installed on "THEIR" (The Companies) computers because of what they think is some type of security issue why are you trying to go against their wishes and install OS X on a computer that is NOT owned by you.
    That could cost you your job.
    If you continue down this path you will screw up the Windows install and have to take the system back to the IT department to get it fixed. What do you think they will say at that point?
    Do as you like but you would be better off just buying your own Mac computer if you are set on using OS X as your personal operating system.

  • Is it possible to make an album, with seperate, and different artwork for each track? Thanks.

    Got a few tracks and I was wondering if its possible to make like an album, but each track different art?  

    You can give each track its own artwork. iTunes will normally display the artwork of track 1 in album listings. The individual track art will show in the small window at the top of the screen when playing, or the artwork panel of the mini player, or the now playing window on a device. Try it and see.
    tt2

  • Is it possible to make an iCloud account used by everyone in my school?

    In my school we have iPads. Would it be possible to make an iCloud account used by everyone for contacts and calendars?

    You do not give everyone the username and password of that account.  This would be a violation of iCloud terms and conditions.
    I've done what you want done with a calendar.  You use the iCloud account yourself, then use the 'broadcast' facility to produce a subscription URL that everyone can put into their calendar software.  If you make the calendar public anyone can subscribe.  They don't even have to know the account name let alone the password.
    Log into the account on www.icloud.com and test it out.
    Once you have that working you might try the same thing with a contact list.  I see no reason it shouldn't work.

  • Is it possible to make an OSB Proxy service offline/online based on BS

    JMS QUEUE
    |
    |_____ Proxy Service <-------->Business Service <---------> External System URL
    I have a configuration as shown above.
    There is a way to make the Business Service offline/online based on the External system URL being offline/online by setting the
    Business service-> Operational Settings->Offline Endpoint URIs with a timesatmp.
    Is it possible to make the state of the proxy service to enabled/disabled based on this state of BS based on external enpoint URI?
    This is a requirement such that the messages in the JMS queue doesnot get lost or consumed when the external system is offline.
    Thanks in Advance!

    I have thought about this. There are some problems here....
    I cannot use the same proxy to invoke the java callout and then based on the code or handler disable it, since
    1) i would have no way to enable back the proxy again.
    2) Also there is some amount of message loss.
    So i will have to use another proxy to do the same, but in this case
    1) what would be the trigger to this proxy?
    2) And how often do i invoke the java callout to see if the URI is up or not? (wouldnt that affect the performance?)
    I am just wondering why did they give an offline URI option in the business service and no similar option in the proxy service, Any Idea?
    Thanks

  • Is it possible to make an .exe file in Forms 6i

    Dear Sir,
    I have some doubts regarding some of the Oracle Products.
    1. Is it possible to make .exe file in Oracle Forms 6i ?
    2. In Oracle 7.3 / Forms 4.5/ Reports 2.5, it was necessary to install Oracle Enterprise at the server and install forms and reports runtime at the nodes. What is the case with Oracle 8i and Forms 6i and Reports 6i.
    Do we need to install the runtime at the nodes.
    3. If I develop a software using D2k (Forms 6i/Reports 6i) using Oracle 8i, what is required at the client's place to run it. Do they need to buy Oracle 8i as well as D2k(in full) or D2K Runtime is seperately available?
    Please reply to the above queries. Thanking you
    Sambaran Datta
    null

    - You cannot create a single exe file for Forms. You will have to install the runtime and then deploy the application fmx files.
    To deploy, you will need to install the Forms runtime on each machine which will be running forms. So if you are running client server and you have 100 client machine you would do 100 installs. Alternatively, if you are installing on the Web then you install the runtime on a server and your 100 clients only need to connect from browser.
    I'm not sure how the licencing sales are worked out - your account manager would have a better idea but you don;t have to have an 8i for every client (!) - the Forms runtime and the database are separate.
    Regards
    Grant Ronald

  • Is it possible to make an app that is like a three way (or more) instant messenger?

    so me and my frineds all ways text eachother. but we wanna know what other pople say to each other too. so is there an app that has 3 way instant messaging? is it possible to make one? if i knew how to use xcode and make apps i would get on it, but i dont. so im asking you guys for help.

    jtbullet wrote:
    app place the pdf when it is compiled?
    Assuming the pdf is contained in the application folder when the app is then compiled? Is the pdf contained in the app, or does it get installed somewhere?
    Sure, you can create an app that only opens up a PDF. The usual place for that kind of stuff is in the application's bundle, which Xcode will do if you add the PDF to your project.
    charlie

Maybe you are looking for