Java 8 Function Interface Tutorial with Examples | Lambda Expression

  Рет қаралды 11,557

Java Guides

Java Guides

Күн бұрын

In this video tutorial, we will learn how to use Function functional interface with an example.
The Function is a functional interface introduced in Java 8; it takes an argument (object of type T) and returns an object (object of type R). The argument and output can be a different type.
Get the source code of this tutorial at www.javaguides....
The complete Java 8 tutorials at • Java 8 Tutorials .
#java8 #javaguides #java

Пікірлер: 11
@theresapan6128
@theresapan6128 Жыл бұрын
Very clear, concise, and useful examples and explanations, many thanks!
@presidentravi4492
@presidentravi4492 2 жыл бұрын
Awesome..
@shivashanker4488
@shivashanker4488 3 жыл бұрын
Videos are really awesome , but its much better if you could remove duplicate videos from playlist. Thank you for providing such great content.
@javatechnology24
@javatechnology24 4 жыл бұрын
Useful examples. Also cover other Java 8 functional interfaces with examples
@niranjanbasha8537
@niranjanbasha8537 4 жыл бұрын
Good example and also provide examples using collections
@kvnagendra5354
@kvnagendra5354 Жыл бұрын
Good
@AnupSingh154
@AnupSingh154 3 жыл бұрын
Repeating " fazil mohamed' question, how your editor not showing error. Did you create your own generic , how?
@fazilmes
@fazilmes 4 жыл бұрын
Can you please give some insight on ConvertListToMap method?. Why the return type is Map instead of just Map.
@JavaGuides
@JavaGuides 4 жыл бұрын
The convertListToMap() is a generic method, you can pass any type as key-value pair to Map. In this example, we are using String but this method not limited to String, you can pass any type such Integer, Object, custom type(Employee, Student).
@venkatasaisowjanya3463
@venkatasaisowjanya3463 3 жыл бұрын
what is difference between andThen and compose methods?
@DeepakLalchandaniProfile
@DeepakLalchandaniProfile 3 жыл бұрын
How to execute the below code FunctionalInterface public interface MyFirstFunctionalInterface { public void firstWork(); @Override public String toString(); //Overridden from Object class @Override public boolean equals(Object obj); //Overridden from Object class } 2. Which book are you referring in your entire Java website ?
Functional Interface | Lambda Expression in Java
13:56
Telusko
Рет қаралды 168 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Java 8 Lambda Expressions Tutorial with Examples | PART-1
22:35
Java Guides
Рет қаралды 16 М.
Lambda Expressions in Java - Full Simple Tutorial
13:05
Coding with John
Рет қаралды 800 М.
Better Java Streams with Gatherers - JEP Cafe #23
1:13:32