File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes some help with java problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic

some help with java problem

ronald zook

Joined: Jul 31, 2007
Posts: 11
im writing a program that parses data from a log file. each line in the log is either a process wit a start time or an end time for one of the started processes. i already figured out how to print all the start times but i cant wrap my head around how to pull out the end time for each of the started processes. i want to put all the end times in a hashmap and iterate thru to find the end times for each process. the end times are usually within an hour of the start time. thanks in advance
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15080

Please don't ask the same question multiple times.
You already asked the same question in your other thread.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: some help with java problem
It's not a secret anymore!