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
Periods, for which this Instant is the beginning. |
Collection<Period> |
getEndedBy()
Get the Collection of temporal
Periods, 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, lengthcompareTo, relativePositionrelativePositiondistance, lengthpublic DefaultInstant(Position position)
public Position getPosition()
getPosition in interface Instantpublic Collection<Period> getBegunBy()
Periods, for which this Instant is the beginning. The
collection may be empty.getBegunBy in interface InstantPeriod#beginpublic Collection<Period> getEndedBy()
Periods, for which this Instant is the end. The
collection may be empty.getEndedBy in interface InstantPeriod#endpublic 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.