Sort the names of those buried at St Mary Magdalene, Old Fish Street, City of London during the period 5/Jan/1813 to 10/July/1853 by their burial date. Use a TreeSet and a StringComparator class to maintain a sorted list. Use an iterator to display the burials, earliest date first.
This is the start of the data file:
ST MARY MAGDALENE OLD FISH STREET CITY OF LONDON Burials 5th Jan 1813 - 10th July 1853 NAME BURIAL DATE AGE RESIDENTIAL ADDRESS ----------------------- ----------- --- ---------------------------- John William ALLARDYCE 17 Mar 1844 2.9 Little Knight Ryder Street Frederic Alex. ALLARDYCE 21 Apr 1844 0.17 Little Knight Ryder Street Philip AMIS 03 Aug 1848 1 18 1/2 Knight Rider Street Thomas ANDERSON 06 Jul 1845 27 2, Bennet's Hill Edward ANGEL 20 Nov 1842 22 Crane Court Lambeth Hill Sarah ANGELL 09 Oct 1836 42 Lambeth Hill ..... The age field in this file is of this format: AGE translates to --- ------------------------ 39 39 years 11.5 11 years and five months 15w 15 weeks 22d 22 days
Copyright © 2010 by Asylum Computer Services LLC | Return to CS Labs |