Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fromNullable (0.46 sec)

  1. android/guava/src/com/google/common/base/Optional.java

        return Absent.withType();
      }
    
      /**
       * Returns an {@code Optional} instance containing the given non-null reference. To have {@code
       * null} treated as {@link #absent}, use {@link #fromNullable} instead.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> no differences.
       *
       * @throws NullPointerException if {@code reference} is null
       */
      public static <T> Optional<T> of(T reference) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top