Advertisement
Guest User

Untitled

a guest
May 6th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. // list of people
  2. ArrayList<String> allPeople = new ArrayList<>();
  3. allPeople.add("Danny");
  4. allPeople.add("James");
  5. allPeople.add("Chris T");
  6. allPeople.add("Jacob");
  7. allPeople.add("Tom");
  8. allPeople.add("Chris");
  9. allPeople.add("Paddy");
  10. allPeople.add("Carl");
  11. allPeople.add("Gavin");
  12. allPeople.add("James m");
  13. allPeople.add("Carla");
  14. allPeople.add("Josh");
  15. allPeople.add("Elliott");
  16. allPeople.add("Fred");
  17. allPeople.add("Alex");
  18. allPeople.add("Ruth");
  19. allPeople.add("Anna");
  20. allPeople.add("Paul");
  21. allPeople.add("Sarah");
  22. allPeople.add("Ryan");
  23. allPeople.add("Carl");
  24. allPeople.add("Alexander");
  25. allPeople.add("Shauna");
  26.  
  27. // database of people's lisences
  28. HashMap<String, String> peoplesLicences = new HashMap<>();
  29. peoplesLicences.put("Danny", DrivingLicence.generateLicenceNumber());
  30. peoplesLicences.put("James", DrivingLicence.generateLicenceNumber());
  31. peoplesLicences.put("Chris T", DrivingLicence.generateLicenceNumber());
  32. peoplesLicences.put("Jacob", DrivingLicence.generateLicenceNumber());
  33. peoplesLicences.put("Tom", DrivingLicence.generateLicenceNumber());
  34. peoplesLicences.put("Chris", DrivingLicence.generateLicenceNumber());
  35. peoplesLicences.put("Paddy", DrivingLicence.generateLicenceNumber());
  36. peoplesLicences.put("Carl", DrivingLicence.generateLicenceNumber());
  37. peoplesLicences.put("Gavin", DrivingLicence.generateLicenceNumber());
  38. peoplesLicences.put("James m", DrivingLicence.generateLicenceNumber());
  39. peoplesLicences.put("Carla", DrivingLicence.generateLicenceNumber());
  40. peoplesLicences.put("Josh", DrivingLicence.generateLicenceNumber());
  41. peoplesLicences.put("Elliott", DrivingLicence.generateLicenceNumber());
  42. peoplesLicences.put("Fred", DrivingLicence.generateLicenceNumber());
  43. peoplesLicences.put("Alex", DrivingLicence.generateLicenceNumber());
  44. peoplesLicences.put("Ruth", DrivingLicence.generateLicenceNumber());
  45. peoplesLicences.put("Anna", DrivingLicence.generateLicenceNumber());
  46. peoplesLicences.put("Paul", DrivingLicence.generateLicenceNumber());
  47. peoplesLicences.put("Sarah", DrivingLicence.generateLicenceNumber());
  48. peoplesLicences.put("Ryan", DrivingLicence.generateLicenceNumber());
  49. peoplesLicences.put("Carl", DrivingLicence.generateLicenceNumber());
  50. peoplesLicences.put("Alexander", DrivingLicence.generateLicenceNumber());
  51. peoplesLicences.put("Shauna", DrivingLicence.generateLicenceNumber());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement