User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 455,985 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,759 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 1080 | Replies: 12
Reply
Join Date: Aug 2007
Location: Adelaide, South Australia
Posts: 428
Reputation: darkagn will become famous soon enough darkagn will become famous soon enough 
Rep Power: 3
Solved Threads: 53
darkagn's Avatar
darkagn darkagn is offline Offline
Posting Pro in Training

Re: very basic

  #11  
Jan 11th, 2008
Originally Posted by xanine View Post
if (combi.equals(combi.toLowerCase()) || combi.equals(combi.toUpperCase()))


This statement in plain english reads:

if thisString equals thisStringConvertedToLowerCase or thisStringConvertedToUpperCase then...

This will ONLY be true if the entire string is written in lower or upper case. If there is any other combination of upper and lower case letters in your string it will return false.

I'm not 100% sure of what you are trying to do here...
The answer is 42.
Reply With Quote  
Join Date: Apr 2007
Posts: 7
Reputation: xanine is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
xanine's Avatar
xanine xanine is offline Offline
Newbie Poster

Re: very basic

  #12  
Jan 13th, 2008
because the texts or the letters in the textfile are in small caps.. it won't read the textfile when i will enter a string of uppercase letters.. can i use the equalsIgnoreCase?
Reply With Quote  
Join Date: Apr 2007
Posts: 7
Reputation: xanine is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
xanine's Avatar
xanine xanine is offline Offline
Newbie Poster

Re: very basic

  #13  
Jan 28th, 2008
hey! i got the code already! it's now solved. But another problem here is how to implement it in linked list.. i really don't know how to start it.. but i do have some sample source codes about it..geesh.. does it have to implement some constructors first? how then it could be called in the main method?
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Java Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Java Forum

All times are GMT -4. The time now is 9:27 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC