@Test public void testHashCode() { int result = temporalCoordinate1.hashCode(); assertFalse(temporalCoordinate2.hashCode() == result); }
@Override public int hashCode() { int hash = super.hashCode(); hash = 37 * hash + (this.coordinateValue != null ? this.coordinateValue.hashCode() : 0); return hash; }
DefaultTemporalCoordinate extends DefaultTemporalPosition implements TemporalCoordinate { @Override public int hashCode() { int hash = super.hashCode(); hash = 37 * hash + (this.coordinateValue != null ? this.coordinateValue.hashCode() : 0); return hash; } }
DefaultTemporalCoordinate extends DefaultTemporalPosition implements TemporalCoordinate { @Override public int hashCode() { int hash = super.hashCode(); hash = 37 * hash + (this.coordinateValue != null ? this.coordinateValue.hashCode() : 0); return hash; } DefaultTemporalCoordinate(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition, Number coordinateValue); }
DefaultTemporalCoordinate extends DefaultTemporalPosition implements TemporalCoordinate { @Override public int hashCode() { int hash = super.hashCode(); hash = 37 * hash + (this.coordinateValue != null ? this.coordinateValue.hashCode() : 0); return hash; } DefaultTemporalCoordinate(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition, Number coordinateValue); Number getCoordinateValue(); void setCoordinateValue(Number coordinateValue); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString(); }
DefaultTemporalCoordinate extends DefaultTemporalPosition implements TemporalCoordinate { @Override public int hashCode() { int hash = super.hashCode(); hash = 37 * hash + (this.coordinateValue != null ? this.coordinateValue.hashCode() : 0); return hash; } DefaultTemporalCoordinate(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition, Number coordinateValue); Number getCoordinateValue(); void setCoordinateValue(Number coordinateValue); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }