Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Lesson12 Resubmission #318

Closed
wants to merge 18 commits into from
Closed

Conversation

javyW
Copy link
Contributor

@javyW javyW commented Mar 28, 2024

Adding the comments for lesson12

@@ -85,12 +85,21 @@ private void populateGuestsWithCheckouts(String filePath, List<LibraryGuestModel
// Map<String, List<CheckoutModel>> checkoutsByGuestEmail = new HashMap<>(); starts a new hashmap (a hashmap is data strcuture used to store data as a key value pair.)
// The difference between a hashmap and a map is that a hashmap is less flexible and uses a hashtable for fast access)( a hashtable is a collection of key-value pairs, for each value you have a unique key for it)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HashMap is just an implementation of the Map interface. There are other implementations of the interface available in Java including the LinkedHashMap implementation.

https://docs.oracle.com/javase/8/docs/api/java/util/LinkedHashMap.html

@javyW javyW closed this Apr 1, 2024
@javyW javyW deleted the lesson12 branch April 1, 2024 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants