Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 301 for _gwt (0.08 seconds)

  1. android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

      private static List<Long> asList(Long[] values) {
        long[] temp = new long[values.length];
        for (int i = 0; i < values.length; i++) {
          temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize).
        }
        return Longs.asList(temp);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        List<ListTestSuiteBuilder<Long>> builders =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  2. 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 =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. 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 {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

      private static List<Character> asList(Character[] values) {
        char[] temp = new char[values.length];
        for (int i = 0; i < values.length; i++) {
          temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize).
        }
        return Chars.asList(temp);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        List<ListTestSuiteBuilder<Character>> builders =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. 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 =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  6. 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 {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. 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();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

    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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/Platform.java

    import static com.google.common.base.Preconditions.checkNotNull;
    
    /**
     * Methods factored out so that they can be emulated differently in GWT.
     *
     * @author Chris Povirk
     */
    final class Platform {
      /** Serializes and deserializes the specified object (a no-op under GWT). */
      @SuppressWarnings("unchecked")
      static <T> T reserialize(T object) {
        return checkNotNull(object);
      }
    
      private Platform() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/EnumBiMap.java

       *
       * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use
       * them under J2CL—or, as an unfortunate side effect, under GWT. We do still give the fields
       * themselves their proper values under GWT, since GWT's EnumMap does need the Class instance.
       *
       * Note that sometimes these fields *do* have correct values under J2CL: They will if the caller
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 6.2K bytes
    - Click Count (0)
Back to Top