@Test public void testGetEndedBy() { Collection<Period> result = instant1.getEndedBy(); assertEquals(instant2.getEndedBy(), result); }
public Collection<Period> getEndedBy() { return endBy; }
DefaultInstant extends DefaultTemporalGeometricPrimitive implements Instant { public Collection<Period> getEndedBy() { return endBy; } }
DefaultInstant extends DefaultTemporalGeometricPrimitive implements Instant { public Collection<Period> getEndedBy() { return endBy; } DefaultInstant(Position position); }
DefaultInstant extends DefaultTemporalGeometricPrimitive implements Instant { public Collection<Period> getEndedBy() { return endBy; } 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 Collection<Period> getEndedBy() { return endBy; } 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();  }