Sort a list of objects by a certain value within the object

References https://stackoverflow.com/questions/9109890/android-java-how-to-sort-a-list-of-objects-by-a-certain-value-within-the-object

Continue reading »

Detect Outlier values in Java Using BoxPlot formula and Apache Commons Math Library

References https://www.shmoop.com/basic-statistics-probability/box-whisker-plots.html http://www.baeldung.com/apache-commons-math https://stackoverflow.com/questions/22888902/get-median-from-number-series-using-apache-commons-math

Continue reading »

Guide to Guava’s EventBus in Java

Setup

Creating Listeners

Registering Listeners

Unregistering Listeners

Posting Events

Posting Custom Events

Handling an Unsubscribed Event

[…]

Continue reading »

Scheduling Tasks to Execute After a Given Delay or Periodically in Java

References http://www.codejava.net/java-core/concurrency/java-concurrency-scheduling-tasks-to-execute-after-a-given-delay-or-periodically

Continue reading »

Install Apache Tomcat 8 on Ubuntu 16.04

Install Java Create Tomcat User

Install Tomcat

Update Permissions

Create a systemd Service File

Configure […]

Continue reading »

Email address validation in Android

References https://stackoverflow.com/questions/9355899/android-email-edittext-validation

Continue reading »

Install Gradle on Ubuntu

First install SDKMAN

Install Gradle

References http://sdkman.io/install.html https://gradle.org/install/

Continue reading »
1 2 3 8