Quantcast
Channel: java 8 – techscouting through the java news
Viewing all articles
Browse latest Browse all 21

Guava 21 erschienen – Im Zeichen von Java 8

$
0
0

Googles beliebte Bibliothek Guava ist in Version 21.0 erschienen. Hauptaspekt dieses Releases sind Anpassungen für Java 8, insbesondere dessen Lambdas & Streams API.

Auszug der Neuerungen

  • Guavas Function, Predicate und Supplier Interfaces erweitern jetzt die gleichnamigen FunctionalInterfaces aus Java 8.
  • Die neuen Hilfsklassen Streams und MoreCollectors erleichtern den Umgang mit der Stream API.
  • Die Klasse Comparators baut auf Javas Comparator Interface (insbesondere auf den neuen Methoden aus Java 8) auf und ersetzt Guavas Ordering Klasse.

Kompatibilität

Zitat aus den Release Notes:

Important: Guava 21.0 requires Java 8. If you need Java 6, 7 or Android compatibility, use Guava 20.0 for now. Guava 22.0 and on will introduce a Java 6/Android compatible backport of Guava that includes all of the latest changes that don’t require Java 8.

Die vollständigen Release Notes sind hier zu finden.


Viewing all articles
Browse latest Browse all 21

Latest Images

Trending Articles





Latest Images