- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 97 for emulated (0.05 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util.concurrent.TimeoutException; import org.jspecify.annotations.Nullable; /** Methods factored out so that they can be emulated differently in GWT. */ @GwtCompatible final class TestPlatform { static void verifyGetOnPendingFuture(Future<?> future) { checkNotNull(future); try {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableAsList.java
@Override public UnmodifiableListIterator<E> listIterator(int index) { return (UnmodifiableListIterator<E>) delegateList.listIterator(index); } @GwtIncompatible // not present in emulated superclass @Override int copyIntoArray(@Nullable Object[] dst, int offset) { return delegateList.copyIntoArray(dst, offset); } @Override @Nullable Object @Nullable [] internalArray() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 2.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java
import java.util.NavigableSet; import org.jspecify.annotations.Nullable; /** * Implementation of {@link Multisets#unmodifiableSortedMultiset(SortedMultiset)}, split out into * its own file so it can be GWT emulated (to deal with the differing elementSet() types in GWT and * non-GWT). * * @author Louis Wasserman */ @GwtCompatible final class UnmodifiableSortedMultiset<E extends @Nullable Object> extends UnmodifiableMultiset<E>Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
// TODO(cpovirk): split into ImmutableSortedSet/ForwardingImmutableSortedSet? // In the non-emulated source, this is in ImmutableSortedSetFauxverideShim, // which overrides ImmutableSet & which ImmutableSortedSet extends. // It is necessary here because otherwise the builder() method // would be inherited from the emulated ImmutableSet. // TODO(cpovirk): should we be including other methods from the shim here and
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 15.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Platform.java
import com.google.common.annotations.J2ktIncompatible; 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 Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Platform.java
import java.util.LinkedHashMap; 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 Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.3K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
import java.util.Iterator; import java.util.List; import java.util.RandomAccess; import java.util.stream.Collector; import jsinterop.annotations.JsMethod; import org.jspecify.annotations.Nullable; /** * GWT emulated version of {@link com.google.common.collect.ImmutableList}. TODO(cpovirk): more doc * * @author Hayward Chan */ @SuppressWarnings("serial") // we're overriding default serializationCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 11.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
import java.util.concurrent.TimeoutException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Base class for tests for emulated {@link AbstractFuture} that allow subclasses to swap in a * different "source Future" for {@link AbstractFuture#setFuture} calls. */ @GwtCompatible @NullUnmarked abstract class AbstractAbstractFutureTest extends TestCase {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 15.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractBiMap.java
stream.defaultReadObject(); setInverse((AbstractBiMap<V, K>) requireNonNull(stream.readObject())); } @GwtIncompatible // Not needed in the emulated source. @J2ktIncompatible Object readResolve() { return inverse().inverse(); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 14.3K bytes - Click Count (0)