java: Make the WatchChange.getValue generic

Similar with Collection.get, WatchChange.getValue needs to know the
class of the value that is retrieved.

Change-Id: I94cee0a8578a96cc0c4cde9d9128a32e38125633
1 file changed