Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 235 for _gwt (0.03 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/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 {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. 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;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 22:23:20 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. 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 serialization
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/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 {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/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 {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. 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,
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Oct 03 18:22:43 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. 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 {
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/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 {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

      private static List<Short> asList(Short[] values) {
        short[] temp = new short[values.length];
        for (short i = 0; i < values.length; i++) {
          temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize).
        }
        return Shorts.asList(temp);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        List<ListTestSuiteBuilder<Short>> builders =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top