@Test public void testEquals() { assertFalse(clockTime1.equals(null)); assertEquals(clockTime1, clockTime1); }
@Override public boolean equals(final Object object) { if (object == this) { return true; } if (object instanceof DefaultClockTime && super.equals(object)) { final DefaultClockTime that = (DefaultClockTime) object; return Utilities.equals(this.clockTime, that.clockTime); } return false; }
DefaultClockTime extends DefaultTemporalPosition implements ClockTime { @Override public boolean equals(final Object object) { if (object == this) { return true; } if (object instanceof DefaultClockTime && super.equals(object)) { final DefaultClockTime that = (DefaultClockTime) object; return Utilities.equals(this.clockTime, that.clockTime); } return false; } }
DefaultClockTime extends DefaultTemporalPosition implements ClockTime { @Override public boolean equals(final Object object) { if (object == this) { return true; } if (object instanceof DefaultClockTime && super.equals(object)) { final DefaultClockTime that = (DefaultClockTime) object; return Utilities.equals(this.clockTime, that.clockTime); } return false; } DefaultClockTime(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition, Number[] clockTime); }
DefaultClockTime extends DefaultTemporalPosition implements ClockTime { @Override public boolean equals(final Object object) { if (object == this) { return true; } if (object instanceof DefaultClockTime && super.equals(object)) { final DefaultClockTime that = (DefaultClockTime) object; return Utilities.equals(this.clockTime, that.clockTime); } return false; } DefaultClockTime(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition, Number[] clockTime); Number[] getClockTime(); void setClockTime(Number[] clockTime); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString(); }
DefaultClockTime extends DefaultTemporalPosition implements ClockTime { @Override public boolean equals(final Object object) { if (object == this) { return true; } if (object instanceof DefaultClockTime && super.equals(object)) { final DefaultClockTime that = (DefaultClockTime) object; return Utilities.equals(this.clockTime, that.clockTime); } return false; } DefaultClockTime(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition, Number[] clockTime); Number[] getClockTime(); void setClockTime(Number[] clockTime); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }