Update Coordinate.java

refact