public class Timestamped<T extends AisMessage> extends Object
Constructor and Description |
---|
Timestamped(T message,
long time) |
Modifier and Type | Method and Description |
---|---|
static <T extends AisMessage> |
create(T message,
long time) |
T |
message() |
long |
time() |
String |
toString() |
public Timestamped(T message, long time)
public static <T extends AisMessage> Timestamped<T> create(T message, long time)
public T message()
public long time()
Copyright © 2020. All rights reserved.