Adding JavaDoc details

Adding JavaDoc details