How to sort objects with Comparable and Comparator in Java

  • 04 February 2017
  • ADM

How to sort objects with Comparable and Comparator in Java. Primitive array and list sorting. Java Object sorting with Comparable and Comparator.


Raspberry Pi 3 first remote startup

  • 30 November 2016
  • ADM

How to connect remotely to Raspberry Pi 3 using ssh from Linux or MacOS or Putty from Windows.


How to create Abstract Factory Pattern in Java

  • 03 November 2016
  • ADM

How to create a abstract factory design pattern in Java using the example of creating a database table/stored procedure for multiple database engines.


Get and Set Field Value using Reflection in Java

  • 31 October 2016
  • ADM

How to get and set field value using reflection in Java. The tutorial covers all situations for a field: public, private and protected.


How to execute method using reflection in Java

  • 28 October 2016
  • ADM

How to execute method using reflection in Java. Example with all cases, with/without parameters and returning/no returning a value.


How to create object using reflection in Java

  • 27 October 2016
  • ADM

How to create an object using reflection in Java. Simple examples for both situations provided: with parameters or without parameters.