Joe Soltzberg

61%
Flag icon
As a rule, you should declare a method to return Optional<T> if it might not be able to return a result and clients will have to perform special processing if no result is returned.
Effective Java
Rate this book
Clear rating
Open Preview