### Question:
DefaultTemporalCoordinate extends DefaultTemporalPosition implements TemporalCoordinate { @Override public boolean equals(final Object object) { if (object == this) { return true; } if (object instanceof DefaultTemporalCoordinate && super.equals(object)) { final DefaultTemporalCoordinate that = (DefaultTemporalCoordinate) object; return Objects.equals(this.coordinateValue, that.coordinateValue); } return false; } DefaultTemporalCoordinate(final TemporalReferenceSystem frame, final IndeterminateValue indeterminatePosition, final Number coordinateValue); Number getCoordinateValue(); void setCoordinateValue(final Number coordinateValue); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testEquals() { assertFalse(temporalCoordinate1.equals(null)); assertEquals(temporalCoordinate1, temporalCoordinate1); assertFalse(temporalCoordinate1.equals(temporalCoordinate2)); }