- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for javascript (8.2 sec)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java
Collections.addAll(all, e1, e2, e3, e4, e5, e6); Collections.addAll(all, others); return copyOf(all.iterator()); } /** ImmutableSet.of API that is friendly to use from JavaScript. */ @JsMethod(name = "of") static <E> ImmutableSet<E> jsOf(E... elements) { return copyOf(elements); } @JsMethod public static <E> ImmutableSet<E> copyOf(E[] elements) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 8.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
* This needs to be a @JsMethod so that J2CL knows to look for a JavaScript implemention of * it in Platform.native.js. (The JavaScript implementation inline below is visible to *GWT*, but * *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
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)