I have a Customer class and a Repair class
I have a TreeMap(customerDetails) of type <String, Customer>.
Each Customer object holds a HashMap(repairs) of type<String, Repair>, the String represents the ref number of the repair.
The user of my system types in a ref number, the program searches to see if any Customer has any Repair with this ref number as a value the displays the Customers details and the Repair details for that ref number.
I'm not sure how to go about searching the customerDetails Map and the repair Map to find the Repair mapped to to String refNumber.
Any help appreciated.