Interfaces in Golang

  • 10 April 2020
  • ADM

Interfaces are collections of method signatures. A interface type can hold any value that implements those methods. The empty interface is an interface type that specifies zero methods. A type assertion provides access to an interface underlying concrete value. Two interfaces are equal if they have equal concrete values and identical dynamic types, or if both are nil.


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 create tiny HTTP server in Java

  • 08 May 2017
  • ADM

How to create tiny HTTP server in Java using ServerSocket class.


Enum examples in Java

  • 24 April 2017
  • ADM

Enum examples in Java. Simple enum usage. How to convert String to Enum object. Enum object with fields and methods.


How to compare dates in Java

  • 04 February 2020
  • ADM

How to compare dates in Java using Date (compareTo, before, after, equals), Calendar(before, after, equals) and LocalDate(isBefore, isAfter, equals) classes.


Client Server Socket example in Java

  • 13 January 2017
  • ADM

Client Server Socket example in Java. Client example reading the input from the console. Simple echo server example.