- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for nullToEmpty (0.08 seconds)
-
guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.native.js
* @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 * @return {string} Original str, if it is non-empty. Otherwise null; */ Platform.emptyToNull = function(str) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Mar 25 14:03:03 GMT 2020 - 527 bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java
@JsMethod static native boolean stringIsNullOrEmpty(@Nullable String string) /*-{ return !string; }-*/; @JsMethod static native String nullToEmpty(@Nullable String string) /*-{ return string || ""; }-*/; @JsMethod static native String emptyToNull(@Nullable String string) /*-{ return string || null; }-*/;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Feb 03 21:52:39 GMT 2025 - 2.2K bytes - Click Count (0)