Here you will learn to generate random number in java between two given number by different means. I will try to provide cons for different mechanism so that you can choose what is best for you.
Posts by "JBT"
Java 8 lambda foreach List
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 List. If you want to iterate over Map you can check Java 8 lambda foreach Map article.
Java 8 lambda foreach Map
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.
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