- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Callable (0.23 sec)
-
android/guava/src/com/google/common/collect/Platform.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Methods factored out so that they can be emulated differently in GWT. * * @author Hayward Chan */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault final class Platform { /** Returns the platform preferred implementation of a map based on a hash table. */ static <K extends @Nullable Object, V extends @Nullable Object>
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 4.9K bytes - Viewed (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; }-*/;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 17:58:45 GMT 2023 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Platform.java
WeakReference<? extends Enum<?>> ref = Enums.getEnumConstants(enumClass).get(value); /* * We use `fromNullable` instead of `of` because `WeakReference.get()` has a nullable return * type. * * In practice, we are very unlikely to see `null`: The `WeakReference` to the enum constant * won't be cleared as long as the enum constant is referenced somewhere, and the enum constant
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 15 22:32:14 GMT 2024 - 3.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
* *J2CL* doesn't look at it.) * * However, once it's a @JsMethod, GWT produces a warning. That's because (a) the *other* purpose * of @JsMethod is to make a method *callable* from JavaScript and (b) this method would not be * useful to call from vanilla JavaScript because it returns an instance of Class, which can't be
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Jun 29 18:16:45 GMT 2023 - 4.7K bytes - Viewed (0)