Added javadoc

Hopefully that's a good start... 
Should we use a different name here from the JDK type?