Changed Methods |
boolean equals(Object )
|
Change in signature from Object to java.lang.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<T> fromJavaUtil(Optional<T> )
|
Change in return type from Optional to Optional<T> .
|
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<T> )
|
Change in signature from Optional to Optional<T> .
|
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. |