public class DefaultInstant extends DefaultTemporalGeometricPrimitive implements Instant
Constructor and Description |
---|
DefaultInstant(Position position) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Verify if this entry is identical to the specified object.
|
Collection<Period> |
getBegunBy()
Get the Collection of temporal
Period s, for which this Instant is the beginning. |
Collection<Period> |
getEndedBy()
Get the Collection of temporal
Period s, for which this Instant is the end. |
Position |
getPosition()
Get the position of this instant.
|
int |
hashCode() |
void |
setBegunBy(Collection<Period> begunBy) |
void |
setEndBy(Collection<Period> endBy) |
void |
setPosition(Position position) |
String |
toString() |
distance, length
compareTo, relativePosition
relativePosition
distance, length
public DefaultInstant(Position position)
public Position getPosition()
getPosition
in interface Instant
public Collection<Period> getBegunBy()
Period
s, for which this Instant is the beginning. The
collection may be empty.getBegunBy
in interface Instant
Period#begin
public Collection<Period> getEndedBy()
Period
s, for which this Instant is the end. The
collection may be empty.getEndedBy
in interface Instant
Period#end
public void setPosition(Position position)
public void setBegunBy(Collection<Period> begunBy)
public void setEndBy(Collection<Period> endBy)
public boolean equals(Object object)
Copyright © 1996–2019 Geotools. All rights reserved.