Bibliographische Detailangaben
| Titel: |
Zukünftige Features des JDK. (German) |
| Autoren: |
Vitz, Michael |
| Quelle: |
JavaSPEKTRUM; 2024, Issue 2, p18-22, 5p |
| Schlagwörter: |
INTERPOLATION, KEYWORDS |
| Abstract (English): |
The article discusses future features of the Java Development Kit (JDK), particularly the features expected to be introduced as previews in JDK 22. These include, among other things, the ability to access variables before calling constructors, the introduction of string templates for easier string interpolation, and the development of a new API for intermediate operations in streams, called Gatherer. Furthermore, pattern matching for primitive types is addressed, which is planned as a preview feature in JDK 23. Finally, the idea of a new keyword "with" to support the modification of records is mentioned, although it is still in the conceptual phase. [Extracted from the article] |
| Abstract (German): |
Der Artikel behandelt zukünftige Funktionen des Java Development Kit (JDK), insbesondere die in naher Zukunft erwarteten Features, die als Preview in JDK 22 eingeführt werden könnten. Dazu gehören unter anderem die Möglichkeit, vor dem Aufruf von Konstruktoren auf Variablen zuzugreifen, die Einführung von String-Templates zur einfacheren String-Interpolation sowie die Entwicklung einer neuen API für Zwischenoperationen in Streams, genannt Gatherer. Des Weiteren wird das Pattern Matching für primitive Typen thematisiert, das in JDK 23 als Preview-Feature geplant ist. Schließlich wird die Idee eines neuen Keywords „with“ zur Unterstützung der Modifikation von Records angesprochen, die sich jedoch noch in der Konzeptionsphase befindet. [Extracted from the article] |
|
Copyright of JavaSPEKTRUM is the property of SIGS DATACOM GmbH and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.) |
| Datenbank: |
Complementary Index |