Co nowego w Javie piszczy – Java 8

2,325 views
1,949 views

Published on

Michał Gruca - DC S.A. - Co nowego w Javie piszczy – Java 8

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,325
On SlideShare
0
From Embeds
0
Number of Embeds
44
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Co nowego w Javie piszczy – Java 8

  1. 1. Co nowego w Javie piszczy JDK 8 @michalgruca
  2. 2. What I do trojmiasto.jug.pl www.rits.pl @michalgruca
  3. 3. Contact @michalgruca michal.gruca@gmail.com @michalgruca
  4. 4. Historia JDK JDK 1.0 – 1996 rok JDK 1.1 – 1997 rok ● Inner classes ● JDBC ● RMI ● Reflection @michalgruca
  5. 5. Historia JDK JDK 1.2 – 1998 rok ● Collections framework ● JIT ● Swing ● J2ME JDK 1.3 – 2000 rok ● Java Platform Debugger Architecture (JPDA) ● JNDI @michalgruca
  6. 6. Historia JDK JDK 1.4 – 2002 rok ● Logging API ● NIO ● XML @michalgruca
  7. 7. Historia JDK JDK 1.5 – 2004 rok ● Generics ● Annotations ● Autoboxing ● Enums ● Varargs ● Foreach ● Static imports @michalgruca
  8. 8. Historia JDK JDK 1.6 – 2006 rok ● Performance JDK 7 - 2011 ● Invokedynamics ● Project coin ● Fork/Join framework @michalgruca
  9. 9. What's new Project Lambda! Streams & Default Methods new Date & Time API - JSR 310 Project Nashorn JavaFx 8 / Java ME 8 Type Annotations @michalgruca
  10. 10. Lambda - składnia () -> {} (Obj x) -> {} (x) -> {} (Obj x, Obj2 y) -> {} (x) -> y x -> y @michalgruca
  11. 11. Przykład @michalgruca
  12. 12. Functional interface @michalgruca
  13. 13. Default methods @michalgruca
  14. 14. Collections New methods foreach (all) getOrDefault / computeIfAbsent (Map) spliterator/removeIf (List) spliterator (Set) Stream & Parallel Stream @michalgruca
  15. 15. Streams @michalgruca
  16. 16. Streams Aggregation methods filter, map, average, min, max,... @michalgruca
  17. 17. JSR 310 @michalgruca
  18. 18. Questions? ● By Pablo @michalgruca
  19. 19. Contact @michalgruca michal.gruca@gmail.com www.rits.pl @michalgruca

×