Mapping is when you take a list of items and create another list where each of the original items has been modified in some way. Learn how the Java Map function allows you to functionally transform the data in lists.
- [Instructor] One of the nice things about learning … functional programming with Java … is that many of the concepts we've learned about … have a great deal of native support in the language itself. … And one of the areas where this fact is especially true … is in working with arrays and other similar structures, … such as lists. … Through its stream interface, … which we'll discuss shortly, … Java provides a host of built in functions and functionality … that makes working with these constructs … in a functional way, incredibly easy. … Built-in functions such as map, filter, reduce and collect, … make the formerly complicated task … of transforming lists data almost trivial. … Over the course of the next few videos … we're going to examine Java's built-in support … for this aspect of functional programming … and how we can use it to our advantage. … So the first of Java's built-in list functions … that we're going to be talking about here is called map. … Quite often, it happens that we have a list of data …
Skill Level Advanced
Java Design Patterns: Structuralwith Bethan Palmer1h 38m Intermediate
1. Introduction to Functional Programming
2. First-Class Functions
3. Working with Streams in Java
4. Advanced Concepts
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.