public class Timestamped<T>
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <T> Timestamped<T> |
atOf(java.time.Instant instant,
T value) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.time.Instant |
instant() |
static <T> Timestamped<T> |
nowOf(T value) |
java.lang.String |
toString() |
T |
value() |
public static <T> Timestamped<T> atOf(java.time.Instant instant, T value)
public static <T> Timestamped<T> nowOf(T value)
public T value()
public java.time.Instant instant()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object