Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Java Data Structures!
You have completed Java Data Structures!
Preview
An implementation of `java.util.Map` provides a key/value representation of data. Maps can be used for all sorts of applications, from counting to indexing.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Now this is a very handy concept,
and it might seem a little confusing
0:00
at first, but I guarantee
you will end up using this,
0:01
and eventually
you'll start thinking in their format.
0:05
Now let's use a couple of maps
to solve a new issue I'm having.
0:08
I love that we have gotten a nice list,
or set I should say, of our directors.
0:11
It's clean and readable.
0:16
But now, my nerdy brain is curious
as to how many of my saved movie
0:18
recommendations were directed
by these people.
0:22
I don't want to go back to the list way
of having their name duplicated, though.
0:26
It's not very presentable. Hmm...
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up