Changed Methods |
boolean equals(Object )
|
Change in signature from java.lang.Object to Object .
|
Returns {@code true} if {@code object} is an {@code Optional} instance, and either the
contained references are Object#equals equal to each other or both are absent. |
Optional fromJavaUtil(Optional<T> )
|
Change in return type from Optional<T> to Optional .
|
Returns the equivalent {@code com.google.common.base.Optional} value to the given {@code
java.util.Optional}, or {@code null} if the argument is null. |
Optional<T> toJavaUtil(Optional )
|
Change in signature from Optional<T> to Optional .
|
Returns the equivalent {@code java.util.Optional} value to the given {@code
com.google.common.base.Optional}, or {@code null} if the argument is null. |