J
Jeff
Is there an object creation timestamp that is accessible?
I have a continuous data input stream that I parse and put into a HashMap.
The key entry is a Long. The value entry is a Vector. After 5 seconds,
the data is out of date so I want to remove it from the HashMap. I would
like to test whether the Long object was created 5 or more seconds ago.
Any suggestions?
Thanks
I have a continuous data input stream that I parse and put into a HashMap.
The key entry is a Long. The value entry is a Vector. After 5 seconds,
the data is out of date so I want to remove it from the HashMap. I would
like to test whether the Long object was created 5 or more seconds ago.
Any suggestions?
Thanks