public class TimeStampedString extends Object implements TimeStamped
String
object that as a AbsoluteDate
attached to it.Constructor and Description |
---|
TimeStampedString(String[] stringsIn,
AbsoluteDate date)
Constructor.
|
TimeStampedString(String stringIn,
AbsoluteDate date)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AbsoluteDate |
getDate()
Get the date.
|
String |
getString()
Get the string (first component of the array if it was constructed with an array).
|
String[] |
getStrings()
Get the strings.
|
public TimeStampedString(String[] stringsIn, AbsoluteDate date)
stringsIn
- array of strings to be storeddate
- AbsoluteDate
attached to the valuepublic TimeStampedString(String stringIn, AbsoluteDate date)
stringIn
- string to be storeddate
- AbsoluteDate
attached to the valuepublic AbsoluteDate getDate()
getDate
in interface TimeStamped
public String[] getStrings()
public String getString()
Copyright © 2023 CNES. All rights reserved.