Viser bare
0:03
S… Speaker 1 (17- Summary)
So in this section you learned that lambda expressions are like anonymous functions that we can
0:07
S… Speaker 1 (17- Summary)
pass around in our code.
0:08
S… Speaker 1 (17- Summary)
We also talked about functional interfaces.
0:11
S… Speaker 1 (17- Summary)
A functional interface is an interface with a single abstract
0:15
S… Speaker 1 (17- Summary)
method.
0:16
S… Speaker 1 (17- Summary)
We can use them to represent a function.
0:18
S… Speaker 1 (17- Summary)
In Java,
0:19
S… Speaker 1 (17- Summary)
we have four different types of functional interfaces.
0:21
S… Speaker 2 (17- Summary)
Consumers,
0:23
S… Speaker 1 (17- Summary)
suppliers,
0:23
S… Speaker 1 (17- Summary)
functions,
0:24
S… Speaker 1 (17- Summary)
and predicates.
0:25
S… Speaker 1 (17- Summary)
We can compose these interfaces to build more complex functions.
0:29
S… Speaker 2 (17- Summary)
In the next section,
0:30
S… Speaker 1 (17- Summary)
we're going to talk about the streams API in Java,
0:33
S… Speaker 1 (17- Summary)
and we'll be using these functional interfaces a lot.
0:36
S… Speaker 1 (17- Summary)
So, I'll see you in the next section.

Denne utskrifta ble laget av AI (automatisk talegjenkjenning). Kan inneholde feil – sjekk mot den opprinnelige lyden for kritisk bruk. AI- praksis

❤️ Elsker du STT.ai? Fortell vennene dine!
Sammendrag
Trykk Summarize for å lage et AI- sammendrag av denne utskrifta.
Summarerer...
Spør AI om dette transkriptet
Spør noe om denne utskrifta – AI- en vil finne relevante avsnitt og svar.