Java Complete Tutorial Ep. 63 - Generic Functional Interfaces & Lambdas
Kody Simpson
This episode, we take what we learn about generics and hook them into our understanding of lambdas. With this, we can make it so that our functional interfaces are generic, accepting a type parameter, making it so that the implementation of the lambda expressions can be in any datatype. We can use the generic type parameters for both the abstract methods return type and the parameter of the method. The code from todays episode is below. #Java #CompleteJavaSeries
This Episode's Code: https://snippets.cacher.io/snippet/06d88c36046ce0c2789c
Stay Updated!! 👁 Discord: https://discord.gg/3stGDun Twitter: https://twitter.com/kodysimp More Videos coming soon. Leave a comment for any future video suggestions. ... https://www.youtube.com/watch?v=wf2ZM2uA9xE
26784960 Bytes