serhii.net

In the middle of the desert you can say anything you want

28 Jul 2020

Day 575

Intellij idea run class with cursor

The small “play” symbols to the left on some classes can be run w/ <C-S-F10> if cursor is on them currently.

Java supports labels!

Java label? Outer, middle, inner - Stack Overflow

someLabel:
    for (i = 0; i < 100; i++) {
        for (j = 0; j < 100; j++) {
            if (i % 20 == 0) {
                break someLabel;
            }
        }
    }

Used to tell break/continue.. which loop to act on.

Random / style / writing

Calling your example classes as something that might be interpreted as a keyword of the language you are writing a tutorial about is a bad idea. (Outer here: Java Nested Classes)

Java collections

Java Collections Tutorial is a really nice tutorial by the author of the other java really nice tutorial I’ve been following.

Nel mezzo del deserto posso dire tutto quello che voglio.