Add java interface doc for weighted set