C
- the time stamped object class.public class TimeStampedObject<C> extends Object implements Serializable
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
TimeStampedObject(C object,
org.djunits.value.vdouble.scalar.Time timestamp)
Construct a new TimeStampedObject.
|
Modifier and Type | Method and Description |
---|---|
C |
getObject()
Retrieve the object.
|
org.djunits.value.vdouble.scalar.Time |
getTimestamp()
Retrieve the time stamp.
|
String |
toString() |
public TimeStampedObject(C object, org.djunits.value.vdouble.scalar.Time timestamp)
object
- C; the object.timestamp
- Time; the time stamp.public final C getObject()
public final org.djunits.value.vdouble.scalar.Time getTimestamp()
Copyright © 2014–2016 Delft University of Technology. All rights reserved.