/guava/guava/src/com/google/common/base/Optional.java
} return ( javaUtilOptional == null) ? null : fromNullable( javaUtilOptional.orElse( null) ) ;
return ( javaUtilOptional == null ) ? null : fromNullable ( javaUtilOptional.orElse ( null ) ) ; }
} public static <T> Optional<T> fromNullable(@CheckForNull T nullableReference) { return (nullableReference == null) ? Optional.<T>absent() : new Present<T>(nullableReference); } @CheckForNull public static <T> Optional<T> fromJavaUtil(@CheckForNull java.util.Optional<T> javaUtilOptional) { <extra_id_0> @CheckForNull public static <T> java.util.Optional<T> toJavaUtil(@CheckForNull Optional<T> googleOptional) { return googleOptional == null ? null : googleOptional.toJavaUtil(); } public java.util.Optional<T> toJavaUtil() { return java.util.Optional.ofNullable(orNull());