When we sort an array or collection of Enum types, the sort order is based on the natural order.
This post shows how to run Ballerina On Command-Line without installing the Java Development Kit (JDK) in Windows 10 64-bit. Instead, we use a zip distribution of Java with only
We were trying to build this Maven project in Travis CI and got a weird compilation error. After modifying the codes to explicitly define the exception types.
This post demonstrates how to use Java 8 Comparator by examples.
This post demonstrates how to add an Android SDK in IntelliJ IDEA.
This post demonstrates how Dependency Injection works with Java EE CDI and Tomcat 8.We’ll display some text from a bean injected into our Servlet via CDI.
This post demonstrates how to reuse Predicate @FunctionalInterface implementations to reduce duplicate codes in your applications.
This post demonstrates how to create a simple SOAP-based Web Service with Kotlin.
Kotlin is statically typed programming language for modern multi-platform applications. It is also 100% interoperable with Java and Android. Furthermore, it allows for concise, and null-safe codes.
This post shows sample Kotlin codes that uses the Java 8 Date and Time API (java.time)