You must have heard about Lambda Expression introduced in Java 8. Soon we will cover detail topics on it. But now in this article i will show how to use Lambda expression to iterate Collection.
Posts by "JBT"
Factory design pattern
In this article, I will write about the Factory Design Pattern in Java, why it is good and how to use it when writing a Java application.
Java enum example
Python setup for Windows, Mac, Linux
Python is available for various platforms which includes Linux, Windows and Mac OS. So here we are going to understand how to setup python environment. For the local environment setup open the terminal window and type there “python” to know that it is already installed or not, if installed then which version.
Java Enum (Enumerations)
In this article I’ll write about Java Enumerations which are the most elegant way to define and use constants in your application. This is the basic feature every one knows but there are some more which you might don’t know.
Java write to file
There are n number of ways to achieve this.
Object Oriented Programming in Python
As in Python it is not necessary to create our code into classes while developing program as we can use functions also which is known as Procedural Programming. However, a procedural programming is used for writing small, short and simple programs whereas object oriented programming (OOP) programs becomes more important as the programs grows in… Continue reading
MapR: The Magic Which Drives Hadoop
When Google faced the trouble of analyzing huge datasets, such as web access logs and the page rank of a website. They used to employ an algorithmic approach which used to take up a lot of time and had to be re-done for every problem. So to get rid of it all, they tasked their… Continue reading
Hadoop Distributed File System
The Hadoop Distributed File System (HDFS) was developed following the distributed file system design principles. Running on commodity hardware, HDFS is extremely fault-tolerant and robust, unlike any other distributed systems.
Python date comparison
Comparing dates (or datetime objects) in Python is very easy. The basic comparison operators (==, !=, <>, >, <, >=, <=) are overloaded for the datetime object, so comparing dates is very intuitive and quick.