Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 1,023 for GwtIncompatible (0.07 seconds)

  1. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // maximumWeight
      public void testMaximumSize_andWeight() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().maximumSize(16);
        assertThrows(IllegalStateException.class, () -> builder.maximumWeight(16));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // digs into internals of the non-GWT implementation
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        String result = task.toString();
        assertThat(result).contains("Custom thread name");
        task.cancel(true);
        exitLatch.await();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
      private void awaitUnchecked(CyclicBarrier barrier) {
        try {
          barrier.await();
        } catch (Exception e) {
          throw new RuntimeException(e);
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableMapEntrySet.java

          return map;
        }
    
        @Override
        @GwtIncompatible // not used in GWT
        int copyIntoArray(@Nullable Object[] dst, int offset) {
          return entries.copyIntoArray(dst, offset);
        }
    
        @Override
        public UnmodifiableIterator<Entry<K, V>> iterator() {
          return entries.iterator();
        }
    
        @Override
        @GwtIncompatible // Spliterator
        public Spliterator<Entry<K, V>> spliterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *
       * @since 10.0
       */
      @GwtIncompatible // TODO
      public static ListeningScheduledExecutorService listeningDecorator(
          ScheduledExecutorService delegate) {
        return (delegate instanceof ListeningScheduledExecutorService)
            ? (ListeningScheduledExecutorService) delegate
            : new ScheduledListeningDecorator(delegate);
      }
    
      @GwtIncompatible // TODO
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 45.6K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertFalse(input.isDone());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
      private static class TestException extends Exception {
    
        TestException(@Nullable Throwable cause) {
          super(cause);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
      private interface MapperFunction extends Function<Throwable, Exception> {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertFalse(input.isDone());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
      private static class TestException extends Exception {
    
        TestException(@Nullable Throwable cause) {
          super(cause);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
      private interface MapperFunction extends Function<Throwable, Exception> {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/base/Predicates.java

        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    
        @SuppressWarnings("unchecked") // safe contravariant cast
        <T extends @Nullable Object> Predicate<T> withNarrowedType() {
          return (Predicate<T>) this;
        }
      }
    
      /**
       * @see Predicates#instanceOf(Class)
       */
      @GwtIncompatible // Class.isInstance
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  8. guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java

            new ArrayList<>(SerializableTester.reserialize(map.values())));
      }
    
      @GwtIncompatible // SerializableTester
      public void testEmpty_serialization() {
        SortedSet<String> set = new SafeTreeSet<>();
        SortedSet<String> copy = SerializableTester.reserializeAndAssert(set);
        assertEquals(set.comparator(), copy.comparator());
      }
    
      @GwtIncompatible // SerializableTester
      public void testSingle_serialization() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagateIfPossible
      @SuppressWarnings("ThrowIfUncheckedKnownChecked")
      public void testPropagateIfPossible_noneDeclared_checked() {
        propagateIfPossible(new SomeCheckedException());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagateIfPossible(Throwable, Class)
      public void testPropagateIfPossible_oneDeclared_unchecked() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ImmutableSortedAsList.java

      }
    
      @GwtIncompatible // ImmutableSortedSet.indexOf
      @Override
      public int lastIndexOf(@Nullable Object target) {
        return indexOf(target);
      }
    
      @Override
      public boolean contains(@Nullable Object target) {
        // Necessary for ISS's with comparators inconsistent with equals.
        return indexOf(target) >= 0;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top