@Test public void testHashCode() { int result = position1.hashCode(); assertFalse(position2.hashCode() == result); }
@Override public int hashCode() { int hash = 3; hash = 97 * hash + (this.position != null ? this.position.hashCode() : 0); return hash; }
DefaultPosition implements Position { @Override public int hashCode() { int hash = 3; hash = 97 * hash + (this.position != null ? this.position.hashCode() : 0); return hash; } }
DefaultPosition implements Position { @Override public int hashCode() { int hash = 3; hash = 97 * hash + (this.position != null ? this.position.hashCode() : 0); return hash; } DefaultPosition(final Date date);  DefaultPosition(final InternationalString datetime);  DefaultPosition(final TemporalPosition anyOther); }
DefaultPosition implements Position { @Override public int hashCode() { int hash = 3; hash = 97 * hash + (this.position != null ? this.position.hashCode() : 0); return hash; } DefaultPosition(final Date date);  DefaultPosition(final InternationalString datetime);  DefaultPosition(final TemporalPosition anyOther); TemporalPosition anyOther(); Date getDate(); Time getTime(); InternationalString getDateTime(); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString(); }
DefaultPosition implements Position { @Override public int hashCode() { int hash = 3; hash = 97 * hash + (this.position != null ? this.position.hashCode() : 0); return hash; } DefaultPosition(final Date date);  DefaultPosition(final InternationalString datetime);  DefaultPosition(final TemporalPosition anyOther); TemporalPosition anyOther(); Date getDate(); Time getTime(); InternationalString getDateTime(); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }