aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java Time calculation" Watch "Java Time calculation" New topic
Author

Java Time calculation

Karthikayan Rajasekaran
Greenhorn

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

In java, I have a one Map,for example

a=11:23:45
b=10:10:10
c=12:30:78
d=..........
e=.........
etc...

(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: 9993
    
    7

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!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Time calculation
 
Similar Threads
confusion - unlock and delete
NullpointerException when reading from file
php(unix) timestamp to java.sql.Timestamp
HashMap question
Return Map via Ajax