![]() ![]() Added the ability to launch single-file source-code programs: useful in the early stages of learning Java, and when writing utility programs.Performance optimization for the G1 garbage collector by using a Parallel Full GC New APIs for creating unmodifiable collections such as pyOf, Set.copyOf, and Map.copyOf var set = new HashSet() is now a valid expression.Ī new method orElseThrow has been added to the Optional class ![]() Local-Variable Type Inference using the keyword var, a way to automatically deduce the type of a local variable without declaring it. G1 is made the default garbage collector.Factory methods for collections, such as Set.of and List.of.Introduction of the Reactive Streams compliant Flow API.They can be used for example by the default methods of an interface to refactor code Private methods can be defined in interfaces. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |