Migrate, Modernize and Build Java Web Apps on Azure: This live workshop will cover methods to enhance Java application development workflow.
Modern Digital Website Security: Prepare to face any form of malicious web activity and enable your sites to optimally serve your customers.
Ing at Streamsim
Stra, IT
Joined May 2002
Stats
Reputation: | 328 |
Pageviews: | 19.2K |
Articles: | 0 |
Comments: | 11 |
Comments
Feb 22, 2017 · Duncan Brown
My drawback with the Scanner is that is really slow. According to my benchmarking, it was 2 times slower than BufferedReader.
Jun 29, 2016 · grspain
When I was using Java7 I usually implement this code to convert list to string
Iterator<String> it = cities.iterator();
StringBuilder csvBuilder = new StringBuilder();
while (it.hasNext()) {
csvBuilder.append(it.next());
if (it.hasNext()) {
csvBuilder.append(',');
}
}
String csv = csvBuilder.toString();
I think it is better than the for loop because you don't have to check at the end for the separator
Mar 04, 2015 · William Louth
I agree to all the suggestions of this article but I have found a small glitch in the example of the Common Mistake #7 .
The programmer should not ever catch RuntimeExceptions (like NullPointerException ones) , they are meant for "programming errors". The programmer should handle them like:
Dec 19, 2013 · Brian Reindel
Ciao and thanks for the tutorial . I took a look also on the NetBeans wiki and they say that I cannot pack some jars in my installer, like jce.jar, http://wiki.netbeans.org/NBIBundledJVM .
I really need those files for my application. Do you know something about that?
Dec 19, 2013 · Ernest Lotter
Ciao and thanks for the tutorial . I took a look also on the NetBeans wiki and they say that I cannot pack some jars in my installer, like jce.jar, http://wiki.netbeans.org/NBIBundledJVM .
I really need those files for my application. Do you know something about that?
Jun 27, 2013 · Tony Thomas
My java version
Jun 27, 2013 · James Sugrue
My java version
Dec 02, 2011 · Tony Thomas
Dec 02, 2011 · Sean Mcgrath
Mar 12, 2010 · Mr B Loid
Mar 12, 2010 · Geertjan Wielenga