Tag Archives: Formatting

Autoboxing: Traps and Advantages

What is ‘autoboxing’ some people might ask? Autoboxing is a feature, which was added in Java 5. Autoboxing is the automatic conversion of primitive data types like int, double, long, boolean to its wrapper Object Integer, Double… and vice versa. … Continue reading

Posted in common practice, Java, Performance, Uncategorized | Tagged , , , , | Leave a comment

SimpleDateFormat in multithreaded environment

SimpleDateFormat is wide known in Java as the default tool to convert a String to a (java.util.)Date and vice versa. Usually you would think you can make a SimpleDateFormat static, like: Because we think, that the formatter just contains the … Continue reading

Posted in Formatting, Java, Multi threading | Tagged , , , , | 1 Comment