- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 210 for GWT (0.88 sec)
-
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/InterruptibleTask.java
package com.google.common.util.concurrent; import static com.google.common.util.concurrent.NullnessCasts.uncheckedCastNullableTToT; import org.jspecify.annotations.Nullable; /** Emulation for InterruptibleTask in GWT. */ abstract class InterruptibleTask<T extends @Nullable Object> implements Runnable { @Override public void run() { T result = null; Throwable error = null; if (isDone()) { return; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
private final transient SortedSet<E> sortedDelegate; /** * Scary constructor for ContiguousSet. This constructor (in this file, the GWT emulation of * ImmutableSortedSet) creates an empty sortedDelegate, which, in a vacuum, sets this object's * contents to empty. By contrast, the non-GWT constructor with the same signature uses the * comparator only as a comparator. It does NOT assume empty contents. (It requires an
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 15.5K bytes - Viewed (0) -
guava/src/com/google/common/cache/LongAddables.java
*/ package com.google.common.cache; import com.google.common.annotations.GwtCompatible; import java.util.concurrent.atomic.LongAdder; /** * Source of {@link LongAddable} objects that deals with GWT and all that. * * @author Louis Wasserman */ @GwtCompatible final class LongAddables { public static LongAddable create() { return new JavaUtilConcurrentLongAdder(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 1.1K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/Platform.java
package com.google.common.escape; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtCompatible; /** * Methods factored out so that they can be emulated differently in GWT. * * @author Jesse Wilson */ @GwtCompatible final class Platform { private Platform() {} /** Returns a thread-local 1024-char array. */ static char[] charBufferFromThreadLocal() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EmptyContiguousSet.java
return this; } @Override public boolean contains(@Nullable Object object) { return false; } @GwtIncompatible // not used by GWT emulation @Override int indexOf(@Nullable Object target) { return -1; } @Override public UnmodifiableIterator<C> iterator() { return emptyIterator(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
* number of elements and whose elements may change over time. * * <p>This test might fail in GWT because the GWT emulations might count on the input collection * not to change during the copy. It is safe to do so in GWT because javascript is * single-threaded. */ @GwtIncompatible // GWT is single threaded public void testCopyOf_threadSafe() { /*
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.4K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java
* @param safeMax the highest character value in the safe range */ protected ArrayBasedCharEscaper(ArrayBasedEscaperMap escaperMap, char safeMin, char safeMax) { checkNotNull(escaperMap); // GWT specific check (do not optimize) this.replacements = escaperMap.getReplacementArray(); this.replacementsLength = replacements.length; if (safeMax < safeMin) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/Platform.java
* the License. */ package com.google.common.collect.testing.testers; import com.google.common.annotations.GwtCompatible; import java.util.Locale; /** * This class is emulated in GWT. * * @author Hayward Chan */ @GwtCompatible final class Platform { /** Format the template with args, only supports the placeholder {@code %s}. */ static String format(String template, Object... args) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableEnumSet.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import java.util.Set; /** * GWT emulation of {@link ImmutableEnumSet}. The type parameter is not bounded by {@code Enum<E>} * to avoid code-size bloat. * * @author Hayward Chan */ final class ImmutableEnumSet<E> extends ForwardingImmutableSet<E> {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableList.java
*/ package com.google.common.collect; import static com.google.common.base.Preconditions.checkNotNull; import static java.util.Collections.singletonList; import java.util.List; /** * GWT emulated version of {@link SingletonImmutableList}. * * @author Hayward Chan */ final class SingletonImmutableList<E> extends ForwardingImmutableList<E> { private final transient List<E> delegate;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 22:23:20 UTC 2025 - 1.2K bytes - Viewed (0)