Gangmax Blog

自由之思想,独立之精神

The Double Colon Operator in Java 8

| Comments

From here and here.

In short, the double colon in Java 8 is method reference operator, which can be used to get the reference of an instance method or a static method, then the result of the operator, aka the method reference can be used in the funtional style programming supported in Java 8.

here gives a very clear explaination.

Create Menu Entry for IntelliJ IDEA

| Comments

My environment is Ubuntu 16.04 Xenial. The default installation package of IntelliJ IDEA for Linux is in “tar.gz” format. Do the following steps to create the menu entry after extracting the package file.

Translate Shell

| Comments

Translate Shell (formerly Google Translate CLI) is a command-line translator powered by Google Translate (default), Bing Translator, Yandex.Translate and Apertium. It gives you easy access to one of these translation engines in your terminal.