[java] Implemented Comment functions.
[java] Implemented Comment functions.