Martin Ahrer

Thinking outside the box

0001-01-01 1 min read
Multiline Text Block
Unresolved directive in <stdin> - include::../../../../../../../../src/main/java/fifteen/lang/TextBlock.java[tag=multilineTextBlock]

0001-01-01 1 min read
Currency Instance
Unresolved directive in <stdin> - include::../../../../../../../../src/main/java/fourteen/api/AccountingCurrencyFormatSupport.java[tag=currencyInstance]

0001-01-01 1 min read
Readable Null Pointer Exception Message
Unresolved directive in <stdin> - include::../../../../../../../../src/main/java/fourteen/api/NullPointerExceptions.java[tag=readableNullPointerExceptionMessage]

0001-01-01 1 min read

The following describes selected improvements of the Java API. See the Java 14 release notes.

Unresolved directive in <stdin> - include::NullPointerExceptions.adoc[leveloffset=+1] Unresolved directive in <stdin> - include::AccountingCurrencyFormatSupport.adoc[leveloffset=+1]

0001-01-01 1 min read

The following describes selected improvements of the Java JVM. See the Java 14 release notes.

0001-01-01 1 min read

The following describes selected improvements of the Java language. See Java Language Changes for Java SE 14

Java 14 is introducing the following language enhancements as developer preview.

  • JEP 305 is introducing Pattern Matching for instanceof and is eliminating boilerplate code.

  • JEP 359 introduces Record to reduce repetitive boilerplate code in data model POJOs.

Continue reading

0001-01-01 1 min read
Switch Expression
Unresolved directive in <stdin> - include::../../../../../../../../src/main/java/fourteen/lang/SwitchExpressions.java[tag=switchExpression]
  1. The compiler warns when cases are not exhausted. A default clause is required. However, for enum switch expressions that cover all known constants, the compiler inserts an implicit default clause.

Switch Expression Yield
Continue reading
Older posts Newer posts