Added Java doc