Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for stringIsNullOrEmpty (0.13 sec)

  1. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.native.js

    /**
     * @param {?string} str
     * @return {boolean} Whether the given string is null or is the empty string.
     * @public
     */
    Platform.stringIsNullOrEmpty = function(str) {
      return !str;
    };
    
    
    /**
     * @param {?string} str
     * @return {string} Original str, if it is non-null. Otherwise empty string.
     */
    Platform.nullToEmpty = function(str) {
      return str || "";
    };
    
    
    /**
     * @param {?string} str
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Mar 25 14:03:03 UTC 2020
    - 527 bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Platform.java

      }
    
      static String formatCompact4Digits(double value) {
        return String.format(Locale.ROOT, "%.4g", value);
      }
    
      static boolean stringIsNullOrEmpty(@Nullable String string) {
        return string == null || string.isEmpty();
      }
    
      /**
       * Returns the string if it is not null, or an empty string otherwise.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java

      }
    
      @JsMethod(name = "Number.prototype.toPrecision.call", namespace = JsPackage.GLOBAL)
      private static native String toPrecision(double value, int precision);
    
      @JsMethod
      static native boolean stringIsNullOrEmpty(@Nullable String string) /*-{
        return !string;
      }-*/;
    
      @JsMethod
      static native String nullToEmpty(@Nullable String string) /*-{
        return string || "";
      }-*/;
    
      @JsMethod
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 03 21:52:39 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Strings.java

       *
       * @param string a string reference to check
       * @return {@code true} if the string is null or is the empty string
       */
      public static boolean isNullOrEmpty(@Nullable String string) {
        return Platform.stringIsNullOrEmpty(string);
      }
    
      /**
       * Returns a string, of length at least {@code minLength}, consisting of {@code string} prepended
       * with as many copies of {@code padChar} as are necessary to reach that length. For example,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top