| Modifier and Type | Field and Description |
|---|---|
| private final Instant | |
| private final String | |
| private final long | |
| private final T |
| Access | Constructor and Description |
|---|---|
| protected | TimedData(T value, long
The timestamp of the TimedData. time)Construct an instance of TimedData with a value and timestamp. |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public T | |
| public Instant | |
| public String | |
| public long | |
| public int | |
| public static < the class of the value T> TimedData | Returns: anTimedData with the given valuesThe value for the timed data. val, long The timestamp. time)Returns a |
| public static < the class of the value T> TimedData | |
| public String |
| instant | back to summary |
|---|---|
| private final Instant instant | |
| name | back to summary |
|---|---|
| private final String name | |
| timestamp | back to summary |
|---|---|
| private final long timestamp | |
| value | back to summary |
|---|---|
| private final T value | |
| TimedData | back to summary |
|---|---|
| protected TimedData(T value, long time) Construct an instance of TimedData with a value and timestamp.
| |
| TimedData | back to summary |
|---|---|
| protected TimedData(T value, long time, String name) Construct an instance of TimedData with a value, a timestamp and a name.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| get | back to summary |
|---|---|
| public T get() Implements java. Doc from java. Gets a result.
| |
| getInstant | back to summary |
|---|---|
| public Instant getInstant() | |
| getName | back to summary |
|---|---|
| public String getName() Implements tech.
| |
| getTimestamp | back to summary |
|---|---|
| public long getTimestamp() Returns the time with which this TimedData was created.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| of | back to summary |
|---|---|
| public static <T> TimedData Returns a
| |
| of | back to summary |
|---|---|
| public static <T> TimedData Returns a | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |