Advanced vs Guava Optional

I used Optionalfrom Guavain my project for a very long time. Now I decided to switch from Java 7 to Java 8, but since I used it in my entire project Guava Optional, I have to skip the code and make significant changes. Although I’m still not sure whether it’s worth changing, or it’s better to leave it as it is, and just start using Java Optionalfrom now on.

Are there any advantages or leaks in Java Optional, is this better than ours Guava?

Thanks for the answers and help.

+4
source share
1 answer

API . . , , :

  • Guava - , , . Java , , .
  • guava Serializable. Java Serializable.
  • .
+4

All Articles