Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for requireNonNullElse (0.59 sec)

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

       * lazy evaluation of the fallback instance, using {@link Optional#or(Supplier)
       * first.or(supplier)}.
       *
       * <p><b>Java 9 users:</b> use {@code java.util.Objects.requireNonNullElse(first, second)}
       * instead.
       *
       * @return {@code first} if it is non-null; otherwise {@code second} if it is non-null
       * @throws NullPointerException if both {@code first} and {@code second} are null
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/MoreObjects.java

       * lazy evaluation of the fallback instance, using {@link Optional#or(Supplier)
       * first.or(supplier)}.
       *
       * <p><b>Java 9 users:</b> use {@code java.util.Objects.requireNonNullElse(first, second)}
       * instead.
       *
       * @return {@code first} if it is non-null; otherwise {@code second} if it is non-null
       * @throws NullPointerException if both {@code first} and {@code second} are null
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.6K bytes
    - Viewed (0)
Back to top