15. News to coders
● Light Write and read to JSON
● Generics to primitives
● builders to Collections
● Literal to Collections
● Process API Updates
● Smart Java Compilation
● http 2.0 client
16. News
● List<String> list = List.of(a, b, c);
● Set<String> set = Set.of(d, e, f, g);
● Map<String,String> map =
Map.of(k1, V1);//not collection
● List<Integer> list = #[ 1, 2, 3 ];
17. Money Api
● Take care of money to you :)
● Formating
● Rounding
● Exchange Rate
18. Money Api
CurrencyUnit euro = MonetaryCurrencies.getCurrency("EUR");
MonetaryAmount money = Money.of(120, euro);
NumberValue number = money.getNumber();
BigDecimal value = number.numberValue(BigDecimal.class);
19. Money Api
CurrencyUnit dollar =
MonetaryCurrencies.getCurrency(Locale.US);
MonetaryAmount m = Money.of(120, dollar);
NumberValue number = m.getNumber();
BigDecimal value = number.numberValue(BigDecimal.class);
20. Money Api
MonetaryAmountFormat format =
MonetaryFormats.getAmountFormat(Locale.US);
String text = format.format(m);//12,50 USD
format =
MonetaryFormats.getAmountFormat(AmountFormatQueryBuild
er.create(Locale.US).set(CurrencyStyle.SYMBOL).build());
String text = format.format(m);//$123,456.56
48. Measurement API
● Acceleration
● Length
● Angle
● Area
● Mass
● Power
● Energy
● Speed
● Force
● Temperature
● Time
● Information
● Volume
And more! 52 quantities
49. It isn't a Spoiler
Sunday, September 28
12:30 p.m.–3:00 p.m.
Moscone North, Hall D
Thursday, October 2
9:00 a.m.–10:45 a.m.
Marriott Marquis, Salon 7/8/9