How to clone an object in Java

  • 25 July 2017
  • ADM

How to clone an object in Java. This method works only when the object cloned has only simple variable.


How to generate random numbers in a range using Java

  • 19 July 2017
  • ADM

How to generate random numbers in a range using Java. A simple method using SecureRandom, class.


How to generate a random password in Java

  • 19 July 2017
  • ADM

How to generate a random password in Java. The algorithm uses a dictionary.


How to create a Java project with Maven

  • 07 August 2017
  • ADM

How to create a Java project with Maven. Simple steps to generate the project, import in Eclipse and run the application.


Java 8 Streams filter examples

  • 06 July 2017
  • ADM

Java 8 Streams filter examples. Simple examples comparing the classic approach pre-Java 8 and using the new Java 8 functionalities.


How to display folder tree structure in command line

  • 05 July 2017
  • ADM

How to see folder tree structure in command line using tree command.