Monthly Archives: January 2018

Java – Java 8 Comparator to replace Guava compound comparing

Guava example Java 8 example Advertisements

Posted in Java, Programming | Leave a comment

Java – Guava API to implement compareTo with considering sorting ordering

Example of a chained comparison statement.

Posted in Java, Programming | Leave a comment

Java – The article of Stream API under the hood

The following article is explaining the under the hood Java 8 Stream API. https://www.ibm.com/developerworks/library/j-java-streams-3-brian-goetz/index.html

Posted in Java, Programming | Leave a comment

Java – Converting Cassandra ResultSet to Java 8 Stream

As input stream is sorted by partition key and input order is important, the following example can be used.

Posted in cassandra, Java, Programming | Leave a comment

Angular – Proxy settings to avoid CORS

Create a proxy.config.json run ng serve with a configuration file.

Posted in angular, Programming | Leave a comment