Update Table.java

Updated union method