DNA Cafe | Download | FreeSoftware | Java | Links

DNA - Java idioms

Here are some simple samples.

StringConvertSample.java
Sample to convert String and basic type.
BigDecimalSample.java
Sample for BigDecimal
DateFormatSample.java
Sample for DateFormat.
NumberFormatSample.java
Sample for NumberFormat.
MessageFormatSample.java
Sample for MessageFormat.
UtilDateAndSubclassesSample.java
Sample to convert java.util.Date and subclasses.
ListSample.java
Sample for List.
MapSample.java
Sample for Map.

The following samples are for Java 1.4 or later.

AssertSample.java
Sample for assert keyword.

The following samples are for Java 1.5 or later.

GenericTypeSample.java
Sample for generic type.
AutoboxingUnboxingSample.java
Sample for autoboxing and unboxing.
PrintfSample.java
Sample for formatted output conversion.
VariableArgumentsSample.java
Sample for variable arguments.

Reference

http://www.afu.com/javafaq.html
Java Programers FAQ.
http://www.ibiblio.org/javafaq/
Cafe au Lait Java FAQs, News, and Resources.

Vector Valid XHTML 1.1! Valid CSS!