Hows the exploring with the functional interface going? Today, we would talk about one of the stock interface come with J2SE (Function). Yes, it’s call function, the only bit special compare to other interface is that it come with magical method <Andthen() || Compose()>. By making good use of those two methods. It allow Dev … Continue reading Lambda (4): Functional function interface
This week gonna be a short one, mainly extends the concept we talked last week. As Java.util.function got introdcued on J2SE. It provide a package for default lambda interface, it's out of the box, can implement it straight away with no hesitation. But this week we would focus on the way of writing lambda code, … Continue reading Lambda (3) Function as an object (The JS way coding?)
Reckon it gonna be pretty lengthy series by exploring the true beauty of lamda / Functional programming. As such a mystery for me who grow up from Java side, OOP got taught from day one. The first lecture on my CSCI101 classes, in my case is CSCI114 from DFS if recalled correctly. Everything in … Continue reading Lambda (1) – Basic
It would be better to read Sebastian's article first, to get the insight of it. Cuz this blog is mainly the extends of it. But first lets clarify several concept first What does a private final field mean? Private mean the scope of access is restricted into the class itself. Only method call within the … Continue reading When constant not staying constant?
After the introduction posted last week, hope it gave out a rough concept of how Lambda look like and what can it do for us. In this article, we would extends further by using Comparator example to explore more possible way of writing lambda expression? Cuz for me personally, it take some time to transit … Continue reading Lambda (2) Comparator
This is the big misunderstanding in my mind for ages ago. Till I checked a article days before. Which really compare VM and docker hand to hand, list out how divide is it actually. Docker is not a VM!!!!! This is the mindset in my mind since the really first day of know docker. Its … Continue reading Vm? Docker?
Does order really matter? I admit this topic is probably a bit too wide. So lets put it in more precise way. Does the order of condition within one single block of if statement matter on Java? Ordinary if statement can be written like this: Computation only triggered when both condition met. So does the … Continue reading Does order matter?