T - public class TimestampedItem<T> extends Object
| Constructor and Description | 
|---|
| TimestampedItem(long timestamp,
               T item)Creates a new timestamped item. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| int | hashCode() | 
| T | item()Returns the item. | 
| TimestampedItem<T> | setItem(T item)Sets the item. | 
| TimestampedItem<T> | setTimestamp(long timestamp)Sets the timestamp. | 
| long | timestamp()Returns the timestamp. | 
| String | toString() | 
public TimestampedItem(long timestamp,
                       T item)
public long timestamp()
public T item()
public TimestampedItem<T> setTimestamp(long timestamp)
thispublic TimestampedItem<T> setItem(T item)
thisCopyright © 2024 Hazelcast, Inc.. All rights reserved.