How to use an assert: JDK 1.4 Programming With Assertions

http://java.sun.com/j2se/1.4.2/docs/guide/lang/assert.html

A very nice document on the usage and motivations behind assertions in JDK 1.4