Added javadocs


Signed-off-by: Anthonyzou <ou.anthony@gmail.com>