updated java doc

Signed-off-by: hemant99911 <hemant99911@gmail.com>