Win a copy of Spring Boot in Practice this week in the Spring forum!

Tom Wolve

Ranch Hand
+ Follow
since Sep 22, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Tom Wolve

Hi,
the String method 'indexOf(..)' is very helpful.
if it returns -1, the character is not in the string.
18 years ago
Hi,
if you're using a StringTokenizer with ' ' as delimiter character, use it with returnDelims enabled.
Count all tokens which are equal to " " and that should do it.
18 years ago
Hi,
try using 'new'.
18 years ago
Hi,
maybe you should use two interfaces, a 'basic' interface with one method and another one extending it where you may add the second method.
Greetings,
Tom
Hi,
try


and your thread should be sleeping between two and four seconds.
18 years ago
Hi,
to learn the basics of JDBC try the Sun tutorial.
JDBC tutorial
Hi,
let me give you some clues.
- 'nextToken' is a method. --> nextToken()
- String has no methods 'append' or 'insert'.
- The first character in a String is charAt(0).
This should make the it a little bit easier, at least for the compiler
18 years ago
Hi,
usually 'return' is the 'right' way to exit a method in Java, throwing an exception is another.
18 years ago
Hi,
Let' try to make the code more readable to understand it.

Hope this helps a bit
Tom
Hi,


This should do it.
18 years ago
Hi,
maybe it helps to know that unicodes like '\u000A' are replaced once before compiling.
So

will be

which will cause a compile error.
Greetings
Tom
Hi,
hope the following code fragment will help
18 years ago
The one I use is a download.
If you think your one doesn't work, try to download again or try to re-install.
18 years ago
Follow the link or try search 'string equal'
Link