@Test public void testGetPosition() { Position result = instant1.getPosition(); assertFalse(instant2.getPosition().equals(result)); }
public Position getPosition() { return position; }
DefaultInstant extends DefaultTemporalGeometricPrimitive implements Instant { public Position getPosition() { return position; } }
DefaultInstant extends DefaultTemporalGeometricPrimitive implements Instant { public Position getPosition() { return position; } DefaultInstant(Position position); }
DefaultInstant extends DefaultTemporalGeometricPrimitive implements Instant { public Position getPosition() { return position; } DefaultInstant(Position position); Position getPosition(); Collection<Period> getBegunBy(); Collection<Period> getEndedBy(); void setPosition(Position position); void setBegunBy(Collection<Period> begunBy); void setEndBy(Collection<Period> endBy); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString(); }
DefaultInstant extends DefaultTemporalGeometricPrimitive implements Instant { public Position getPosition() { return position; } DefaultInstant(Position position); Position getPosition(); Collection<Period> getBegunBy(); Collection<Period> getEndedBy(); void setPosition(Position position); void setBegunBy(Collection<Period> begunBy); void setEndBy(Collection<Period> endBy); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }