| Modifier and Type | Field and Description |
|---|---|
| pack-priv final long | |
| pack-priv final TimeUnit | |
| pack-priv final T |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| public int | |
| public long | |
| public long | |
| public String | |
| public @NonNull TimeUnit | |
| public T |
| time | back to summary |
|---|---|
| pack-priv final long time | |
| unit | back to summary |
|---|---|
| pack-priv final TimeUnit unit | |
| value | back to summary |
|---|---|
| pack-priv final T value | |
| Timed | back to summary |
|---|---|
| public Timed(T value, long time, @NonNull TimeUnit unit) Constructs a
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) 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. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| time | back to summary |
|---|---|
| public long time() Returns the time value.
| |
| time | back to summary |
|---|---|
| public long time(@NonNull TimeUnit unit) Returns the contained time value in the time unit specified. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| unit | back to summary |
|---|---|
| public @NonNull TimeUnit unit() Returns the time unit of the contained time. | |
| value | back to summary |
|---|---|
| public T value() Returns the contained value.
| |