- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 301 for _gwt (0.04 seconds)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableBiMap.java
*/ package com.google.common.collect; import static com.google.common.base.Preconditions.checkNotNull; import static java.util.Collections.singletonMap; import org.jspecify.annotations.Nullable; /** * GWT emulation of {@link SingletonImmutableBiMap}. * * @author Hayward Chan */ final class SingletonImmutableBiMap<K, V> extends ImmutableBiMap<K, V> { private final K singleKey; private final V singleValue;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 22:23:20 GMT 2025 - 1.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/EmptyImmutableSetMultimap.java
* of common.collect a second time with the results of the first compilation on the classpath. Or * just back this out once we stop doing that (which we'll do after our internal GWT setup * changes). */ @Override public ImmutableMap<Object, Collection<Object>> asMap() { return super.asMap(); } private Object readResolve() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 1.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java
import junit.framework.AssertionFailedError; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */ @GwtCompatible @NullMarked final class ReflectionFreeAssertThrows { interface ThrowingRunnable { void run() throws Throwable; } interface ThrowingSupplier {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Platform.java
import java.util.Arrays; import java.util.Map; import java.util.Set; import org.jspecify.annotations.Nullable; /** * Methods factored out so that they can be emulated differently in GWT. * * @author Hayward Chan */ @GwtCompatible final class Platform { /** Returns the platform preferred implementation of a map based on a hash table. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 4.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java
import junit.framework.AssertionFailedError; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */ @GwtCompatible @NullMarked final class ReflectionFreeAssertThrows { interface ThrowingRunnable { void run() throws Throwable; } interface ThrowingSupplier {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Platform.java
import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import org.jspecify.annotations.Nullable; /** * Methods factored out so that they can be emulated differently in GWT. * * @author Hayward Chan */ @GwtCompatible final class Platform { /** Returns the platform preferred implementation of a map based on a hash table. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 4.7K bytes - Click Count (0) -
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; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.6K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java
// linear lookup table of replacement character sequences indexed by the // original character value. @VisibleForTesting static char[][] createReplacementArray(Map<Character, String> map) { checkNotNull(map); // GWT specific check (do not optimize) if (map.isEmpty()) { return EMPTY_REPLACEMENT_ARRAY; } char max = max(map.keySet()); char[][] replacements = new char[max + 1][]; for (Character c : map.keySet()) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 3.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/IteratorFeature.java
import java.util.LinkedHashSet; import java.util.ListIterator; import java.util.Set; /** * A method supported by implementations of the {@link Iterator} or {@link ListIterator} interface. * * <p>This enum is GWT compatible. * * @author Chris Povirk */ @GwtCompatible public enum IteratorFeature { /** Support for {@link Iterator#remove()}. */ SUPPORTS_REMOVE, /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 03 18:22:43 GMT 2023 - 1.9K bytes - Click Count (0) -
futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutures.java
*/ package com.google.common.util.concurrent.internal; /** * Static utilities for {@link InternalFutureFailureAccess}. Most users will never need to use this * class. * * <p>This class is GWT-compatible. * * @since {@code com.google.guava:failureaccess:1.0}, which was added as a dependency of Guava in * Guava 27.0 */ public final class InternalFutures { /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 1.7K bytes - Click Count (0)