Jaydeep Ravatsuperjavacoder.site·Mar 2, 2024Understanding Functional Interfaces in Java 8Introduction Java 8 introduced a powerful new concept: functional interfaces. These interfaces are a key part of Java's support for functional programming concepts, and they work hand-in-hand with lambda expressions and method references. But what ex...Discuss·1 like·36 readsJava Learningjava8
Sajal Raj Gautamblog.sajalrg.com·Dec 31, 2023Consumer interface in JavaThe Consumer interface was introduced in Java 1.8. Below is a an excerpt from the official documentation Represents an operation that accepts a single input argument and returns no result. Unlike most other functional interfaces, Consumer is expecte...Discuss·56 readsconsumer java
Minal Madhurletsstart.hashnode.dev·Sep 1, 2023Demystifying Functional Interfaces in Java: A Comprehensive GuideWelcome back to our journey through the world of Java, where we continue our exploration of lambda expressions and functional interfaces. In our previous blog(here), we delved into the fascinating realm of lambda expressions and learned how they can ...Discussfunctional interface
Minal Madhurletsstart.hashnode.dev·Aug 23, 2023The Elegance of Lambda Expressions Continues: Functional Interfaces and Their PowerGreetings, fellow coders! In a previous exploration, we embarked on a journey to uncover the wonders of Lambda Expressions, those remarkable snippets of anonymous functions that streamline Java code with their simplicity and power. If you missed that...Discuss·12 likes·48 readsFunctional Programming
Ashish Choudharyashishtechmill.com·Feb 21, 2023Java Functional Interfaces for the Impatient: Part 1Introduction Functional Interfaces were first introduced in Java 8 and as per Java docs: Functional interfaces provide target types for lambda expressions and method references. Each functional interface has a single abstract method, called the func...Discuss·1.1K readsJava
Bikash Mainalibikash8848.hashnode.dev·Jan 27, 2023Java 8 : Functional InterfaceComparable public class Employee implements Comparable<Employee> { private String name; private float salary; public Employee(String name, float salary) { this.name = name; this.salary = salary; } @Override p...Discuss·43 readsJava
Sleyter Sandovalsleyter.hashnode.dev·Dec 29, 2022Functional Interfaces in JavaFunctional Interface(FI) refers to a special kind of interface, it's an interface with only one abstract method, that is, FI can have many other implemented methods, but only one abstract method. package com.sosv.functional.generic; public interface...Discuss·1 like·65 readsJava