The Tech Stack . Net
Sharing my Java and Kotlin coding experiments in this blog
Generate stream of random numbers
Its not possible for any computer to generate real random numbers, but they can generate pseudorandom numbers. Pseudorandom numbers are generated based on an algorithm and they are nearly like...
03 Mar 2018
Quick way to create, read, write and delete files in Java
Files class in java.nio.file package contains static utility methods to operate on files and directories. In this article I will provide information on some of these static methods. These methods...
28 Feb 2018
Quick introduction to PriorityQueue
PriorityQueue is the implementation of Queue interface. Generally queue store elements in FIFO (first in first out) order but PriorityQueue is the exception. As the name specifies, elements in the...
23 Feb 2018
Using comparing methods in Comparator Interface
Java 8 introduced some new methods in Comparator interface. I was going through this interface to check all available methods in it and did some code experiments to understand some...
21 Feb 2018
Stream of dates with LocalDate
I want a list of all dates with starting range from Jan 15, 2018 to Feb 20, 2018. I can generate this list using the new ‘datesUntil’ method in LocalDate...
17 Feb 2018
Never miss any
, subscribe to my newsletter