Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // list of people
- ArrayList<String> allPeople = new ArrayList<>();
- allPeople.add("Danny");
- allPeople.add("James");
- allPeople.add("Chris T");
- allPeople.add("Jacob");
- allPeople.add("Tom");
- allPeople.add("Chris");
- allPeople.add("Paddy");
- allPeople.add("Carl");
- allPeople.add("Gavin");
- allPeople.add("James m");
- allPeople.add("Carla");
- allPeople.add("Josh");
- allPeople.add("Elliott");
- allPeople.add("Fred");
- allPeople.add("Alex");
- allPeople.add("Ruth");
- allPeople.add("Anna");
- allPeople.add("Paul");
- allPeople.add("Sarah");
- allPeople.add("Ryan");
- allPeople.add("Carl");
- allPeople.add("Alexander");
- allPeople.add("Shauna");
- // database of people's lisences
- HashMap<String, String> peoplesLicences = new HashMap<>();
- peoplesLicences.put("Danny", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("James", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("Chris T", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("Jacob", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("Tom", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("Chris", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("Paddy", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("Carl", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("Gavin", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("James m", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("Carla", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("Josh", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("Elliott", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("Fred", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("Alex", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("Ruth", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("Anna", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("Paul", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("Sarah", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("Ryan", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("Carl", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("Alexander", DrivingLicence.generateLicenceNumber());
- peoplesLicences.put("Shauna", DrivingLicence.generateLicenceNumber());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement