T - @Immutable public final class Timed<T> extends Object implements Immutable
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
static <T> Timed<T> |
of(T value) |
static <T> Timed<T> |
of(T value,
long timeInMillis) |
long |
timestamp() |
String |
toString() |
T |
value() |
public static <T> Timed<T> of(T value)
T - value - public static <T> Timed<T> of(T value, long timeInMillis)
T - value - timeInMillis - public long timestamp()
public T value()
public boolean equals(Object obj)
Copyright © 2021. All rights reserved.