Character.digit(char, int) doesn't know the diff of 'a' and 'A'
I did Character.digit('a', 16) and Character.digit('A', 16), and they both gave me 10. Is there a function that can decipher between capitals and lowercase.
I am trying to create a random sequence of characters...and I can't seem to figure out a good method to do this. I think the method Character.digit(char, radix) isn't the best of methods.
No! That is not the right method to use. You should have seen the API before posting your explanation.
Anyway, you could try this,
import java.util.Random;
Random r = new Random();
char upch = 'A' + r.nextInt(25); // for next random upper case letter
char lowch = 'a' + r.nextInt(25); // for next random lower case letterI assume that, by characters in your question, you meant English alphabet.
HTH
Similar Messages
-
What is the differ bet reference and template
hi this is koti,
let me know the diff bet reference and template?Please search forum before you post. This topic has been discussed many times
-
Hey,
I have Final Cut Express 4.0.1 and a JVC everio camera.
Whenever i try to import my files to FCE via "Log and transfer", it just doesn't do anything, as if FCE doesn't know the camera is there,
please help !FCE 4.0.1 can only capture DV/HDV which is produced by cameras using Mini-DV TAPES and cameras shooting AVCHD which is a high definition format.
If your camera shoots standard definition on Memory Cards, DVDs or Hard Drives it will not work in FCE.
What is your camera's exact model name and number? -
A window doesn't know the window which has createdit.
you can also look at client-side SO , or passing parameters to child win.
Cordialement.
Patrice Bourdon
Alliance Sante France
Tel : (33) 02.54.60.26.27
Fax : (33) 02.54.60.25.00
e-mail: mailto:patrice.bourdonalliance-sante.fr
<mailto:patrice.bourdonalliance-sante.fr>
web : http://www.alliance-sante.fr <<a
href=
"http://www.alliance-sante.fr/">http://www.alliance-sante.fr/</a>>
-----Message d'origine-----
De: Olivier Andrieux [mailto:oandrieuxaxialog.fr]
Date: vendredi 9 juin 2000 14:34
À: forte-userslists.xpedior.com
Objet: (forte-users) a window doesn't know the window which has created it.
Hi,
I have created a window win_a and a second window win_b whis is instancied
in win_a(new+display) when a button is clicked
but i want to use the datas of win_a in win_b. For it, i have made a class
'main' which instanciate win_a.
The problem is that win_b does'nt know win_b....
Thanks
Olivier Andrieux
Axialog Lille
France -
help
what if the previous owner doesn't know the email and password for its account and is not present, i bought this ipod from gamestop but it shows this screen, can i dlete this account to use my ipod ?The device is useless. Send it back and have them return your money.
-
On holiday in Spain, my phone wont connect to wi-fi at my friends apartment but connects to some wi-fi locations in the city. The rest tells me that " Unable to join the network" even though i know the password is correct and my ipad is connected.
I have tried resetting network connections and switching on/off wi-fi, and also reset using home and top button, still nothing.Try going to the Wifi settings and clicking the little arrow next to your network, and click "forget this network" then try re-connecting. If that doesn't work, try going to settings-general-reset and clicking reset network settings. Also, make sure you have your network password correct if there is one.
-
Just downloaded the new ios 7, and I can't seem to get any apps to download in the app store. It doesn't have the meter bar anymore and all it does is have a blue circle spin and spin for over 5 min. without nothing happening! Help!!!
Hi,
This is how App Store app shows now when an app is downloading. If you cannot download anything, go to Settings > iTunes & App Store, remove your Apple ID, and set it again. That should work.
Hope that helps. -
I just updated my software for Apple TV; I keep getting the message that my password is incorrect, I know the code is correct and I have tried it multiple times. Apple TV worked fine before the upgrade. Any suggestions?
Then contact iTunes:
Apple - Support - iTunes - Contact Us -
Sql query to know the number of triggers and cursors present in a schema?
friends,is there any way to know the number of triggers and cursors preseent in a schema.
thanks in advance..what do you mean by triggers in a schema? is it the triggers owned by that schema? or the triggers applied on tables owned by that schema? remember you may own triggers applied on the tables belong to other schemas. Anyways, all this information can be extracted from oracle dictionary using a combination of all_triggers and all_tables.
As far as cursors, please elaborate. Do you mean cursors declared in PL/SQL blocks? -
Can a unlocked (no ATT, Verizon, Sprint plan) iphone 5 bought from an Apple store utilize a phone call while simultaneously checking email, turn by turn, web pages etc.? I know the ATT version can and the Verizon version can't, so can the unlocked version from Apple (which is not yet available) do it?
The tech specs are identical from both wesites of Vietnam and USA--To add further confusion!
Apple Vietnam
GSM model A1428*: UMTS/HSPA+/DC-HSDPA (850, 900, 1900, 2100 MHz); GSM/EDGE (850, 900, 1800, 1900 MHz); LTE** (Bands 4 and 17)
CDMA model A1429*: CDMA EV-DO Rev. A and Rev. B (800, 1900, 2100 MHz); UMTS/HSPA+/DC-HSDPA (850, 900, 1900, 2100 MHz); GSM/EDGE (850, 900, 1800, 1900 MHz); LTE** (Bands 1, 3, 5, 13, 25)
GSM model A1429*: UMTS/HSPA+/DC-HSDPA (850, 900, 1900, 2100 MHz); GSM/EDGE (850, 900, 1800, 1900 MHz); LTE** (Bands 1, 3, 5)
802.11a/b/g/n Wi-Fi (802.11n 2.4GHz and 5GHz)
Bluetooth 4.0 wireless technology
Apple USA
GSM model A1428*: UMTS/HSPA+/DC-HSDPA (850, 900, 1900, 2100 MHz); GSM/EDGE (850, 900, 1800, 1900 MHz); LTE (Bands 4 and 17)
CDMA model A1429*: CDMA EV-DO Rev. A and Rev. B (800, 1900, 2100 MHz); UMTS/HSPA+/DC-HSDPA (850, 900, 1900, 2100 MHz); GSM/EDGE (850, 900, 1800, 1900 MHz); LTE (Bands 1, 3, 5, 13, 25)
GSM model A1429*: UMTS/HSPA+/DC-HSDPA (850, 900, 1900, 2100 MHz); GSM/EDGE (850, 900, 1800, 1900 MHz); LTE (Bands 1, 3, 5)
802.11a/b/g/n Wi-Fi (802.11n 2.4GHz and 5GHz)
Bluetooth 4.0 wireless technology -
when i 'upgraded' to Mavericks, it locked me out and shut down my computer. now it won't print from my Epson Stylus CX3810. Epson doesn't have the driver to download and neither does the App store. Suggestions?
I'm having similar problems with my Epson Stylus DX5000. There was no in-built driver available (the generic old and new Stylus drivers didn't work), so downloaded the latest driver from Epson site. It shows as being available to print to, but just sends data to the print queue then job disappears.
I hope you're right C F McBlob, I could do with printing today but if there are new drivers available from November 5, then so be it. -
Can anyone please let me know the differences between EDW and BI 7 if any
Can anyone please let me know the differences between EDW and BI 7 if any.
hi,
As such their is no diff between the to
The Enterprise Data Warehouse (EDW) is a service offered by the Data Services Department of the Information Services and Technology Division. EDW consolidates data from multiple sources in support of campus wide decision making and related information needs such as reporting, analysis, and planning.
The vision for the EDW is to provide information that is secure, accurate, timely, consistent, integrated, appropriately detailed, well-organized, and easy to obtain so that people throughout the campus -- staff, faculty, researchers, and executive-level administrators -- will be better able to assess their needs, set priorities, understand the impact of change, and fulfill their programmatic responsibilities more efficiently.
The major components of the existing Enterprise Data Warehouse are:
BAIRS Financials
BAIRS HRMS
BIS
Legacy BIS
Student Data Warehouse Pilot
AND BI 7 is the latest version of the EDW which is currently in used in full fledged everywhere with lots of added functionality.
Assign points if helpful.
Regards,
Amit -
My iphone is now locked at activation screen.My old Iphone purchased from Japan to Vietnam nam.toi reset iphone without knowing the old icloud account and I can not contact the previous owner to do now iphone.
The phone is useless unless you can contact the previous owner. There is nothing anyone can do to help. If you are able to contact, the following contains instructions on what they need to do: iCloud: Activation Lock
-
How to know the disk space -(filled and not filled) in Macbook pro?
How to know the disk space -(filled and not filled) in Macbook pro? what is the easiest way to know about it? how can i know a % of disk space that is filled in my mac book pro (2012 model MD101)
Hi ...
What's taking up disk space > OSX Tips The Storage Display
Click your Apple menu top left in your screen. From the drop down menu click About This Mac > More Info > Storage
Make sure there's at least 15% free disk space. -
Does anyone know the YAHOO authentication method and port? I recently installed the new OSX 10.8.2 software and my mac mail wont work.
Hello,
I have no idea what you're talking about, however my Mail stopped working when I
had to add a new e-mail address for my Hotmail account.
My new Hotmail address works, and seems to get e-mail from the old e-mail address,
which from I've read behaves as a "default" address for the old address.
Apple Mail is linked to my Hotmail account of the old e-mail address.
I no longer know my old password.
Apple Mail will not accept my new password for ny new Hotmail account.
Can someone help me solve this problem WITOUT COMPLICATED SOLUTION!
As I said I have no idea what a port, or SSL or authentication is!
If you do answer,please answer in vert simple steps that are easy to follow, and donlt make matters worse.
Thanks,
SB
Maybe you are looking for
-
PROCEDURE IS NOT EXECUTED WITH IN THE DATABASE TRIGGER
The follwing databse trigger works fine but the procedure lv_calc_pkg.p_orders_executed(:new.stock_code,:new.selling,:new.buying,:new.qty,:new.price); is not executed please help CREATE OR REPLACE TRIGGER SE.LV_SUMMARY_TRADE_TR AFTER INSERT ON SE.LV_
-
Pdf form for data from another form with data, xml or pdf, tables not expanding
Sir, I am using Adobe Acrobat 9 Pro and LifeCylce to do these forms. I have made several subforms for a Risk Assessment for the mission they fly. I have also made up another form with tables that would connect with each subform data. This form also w
-
How to capture hi8 super8?
Hi, I have my Imac connect to a Dv converter what has S-video and composite. Now i would like to Be able to capture Super video, Video8 and Hi8. I don't know much about what play i have to get to work. Is there anyone who can tell me, if there is a u
-
HT5242 Anyone know what the "extended period of time" is?
Anyone know what the "extended period of time" is when the Java update decides for us when it should turn off automatic applet running? Looking forward to the hack which allows us to fix that and make the decision ourselves.
-
I have this in a class UsefulClasses.MyMaths public static int generateRandomNumber(int n) { return (int)(Math.random() * n) + 1; I am trying to create a calculator that generates 2 random numbers and asks user to multiply them. I am obviously lost i