HTML

Java 8 Comparator Example Using Lambda Expressions

Hello guys, After Java 8 it has become a lot easier to work with Comparator and Comparable classes in Java. You can implement a Comparator using lambda expression because it is a SAM type interface. It has just one abstract method compare() which means you can pass a lambda expression where a Comparator is expected. Many Java programmers often ask me, what is the best way to learn lambda expression of Java 8?  And, my answer is, of course by using it on your day to the day programming task. Since implementing equals(), hashcode(), compareTo(), and compare() methods are some of the most common tasks of a Java developer, it makes sense to learn how to use the lambda expression to implement Comparable and Comparator in Java.

Top 5 FREE Courses to Learn Data Science and Analysis for Beginners - Best of Lot

Hello folks, Data Science and Data Analysis are two of the most in-demand skills in the current technology world and all kinds of companies need them to improve their sales, profit, and overall business process. If you want to learn Data Science and Data Analysis and looking for some free online training courses to start your career then you have come to the right place. In this article, I am going to share free Data Science courses from Udemy and Coursera for both beginners and experienced programmers. You can join these courses to learn Data Science from scratch. They are also good to fill gaps in your knowledge if you already doing Data Analysis, and the big point, they are completely FREE.

How Stream.filter method works in Java 8 - An Example

In the last couple of Java 8 tutorials, you have learned how to use map(), flatMap(), and other stream methods to get an understanding of how Java 8 Stream and Lambda expressions make it easy to perform the bulk data operation on Collection classes like List or Set. In this Java 8 tutorial, I am going to share how to use the filter() method in Java 8, another key method of Stream class.  This is the one method you will always be used because it forms the key part of the Stream pipeline. If you have seen some Java 8 code, you would have already seen this method a couple of times.

Top 5 Django and Python Web Development Courses for Beginners and Experienced Programmers- Best of Lot

Hello guys, you may know that Python is a multi-purpose programming language meaning that you can use it in different fields such as GUI application, artificial intelligence, and web application, and much more, just to name a few. Apart from Data Science, Web development is another area where Python really shines because of its awesome tools, libraries, and frameworks. And, when we talk about web applications, one of the best python frameworks that are popular is the Django framework which allows you to create a Python web application very quickly and easily.

Java 8 Stream filter() + findFirst Example

Suppose, you have a list of prime numbers and you need to find the first prime number which is greater than a given number? How do you find it? Don't tell that you will loop through the list and check each element and return the first element which is greater than the given number. Well, that's right but that's not what you should do in Java 8. That's good for Java 7 or earlier version but Java 8 offers you many better alternatives and one of them is Stream. You can use the Stream class along with filter() and findFirst() methods to find out an element based upon a Predicate, a functional interface for defining a condition which returns a boolean.

Top 5 FREE Courses to learn Photoshop in 2020 - Best of Lot

Hello guys, If you want to become a web designer or Graphics designer and want to learn Photoshop then you have come to the right place. In this article, I am going to share 5 free courses from Udemy and Coursera to learn Photoshop online. These courses have been created by experts and trusted by thousands of developers to learn Photoshop skills and they are absolutely free. You can use them to learn Photoshop skills and start your career as a Graphic designer or Web designer. There is a huge demand for professionals with Photoshop skills, companies of all sizes need a UI designer. This is also a great skill to set up your own business and do freelancing. Sites like Fiverr and Upwork has a lot of job for Photoshop professionals.