How to deep clone an object in Java

  • 25 July 2017
  • ADM

How to deep clone an object in Java. The clone method from the parent object needs to clone each child object separately and added to the cloned parent object.


6 methods how to loop a Map in Java

  • 15 June 2017
  • ADM

How to loop a Map in Java. 6 different methods to loop through a map. The main difference is the looping method.


Thread Semaphore and Mutex in Java

  • 30 May 2017
  • ADM

Thread Semaphore and Mutex in Java. Semaphore restrict the access to a resource for limited numbers of threads while mutex restricts the access to a single thread.


Blinking LED on Raspberry Pi using Golang

  • 20 March 2017
  • ADM

How to make a LED blinking on Raspberry Pi using Golang. Simple sample code using go-rpio library.


Blinking LED on Raspberry Pi using Java

  • 21 March 2017
  • ADM

How to make a LED blinking on Raspberry Pi using Java. Simple sample code using pi4j library.


Blinking LED on Raspberry Pi using C

  • 16 March 2017
  • ADM

How to make a LED blinking on Raspberry Pi using C. Simple C code sample using WiringPi library.