Completed the java parser and comparator.