It's not a secret anymore!
The moose likes Beginning Java and the fly likes Java Time calculation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java Time calculation" Watch "Java Time calculation" New topic

Java Time calculation

Karthikayan Rajasekaran

Joined: Nov 09, 2012
Posts: 4
Hi all,

In java, I have a one Map,for example


(Note:map size dynamically change)

In this Map, I need to find which key contains latest time(i.e. latestly created)?

Please help me , any one.

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10744

Welcome to the Ranch.

We do not just hand out ready made answers here at the Ranch. Tell us what you think and we will help point you in the right direction.
As a first step, can you tell us, in plain english (forget code and algorithms for now) how you would solve this problem logically?

PS. This will be better suited on the beginners forum. Moving..

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Have you checked out Aspose?
subject: Java Time calculation
It's not a secret anymore!