Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 301 for _gwt (0.04 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

      private @Nullable Runnable setUp;
      private @Nullable Runnable tearDown;
    
      // public so that it can be referenced in generated GWT tests.
      @Override
      public void setUp() throws Exception {
        if (setUp != null) {
          setUp.run();
        }
      }
    
      // public so that it can be referenced in generated GWT tests.
      @Override
      public void tearDown() throws Exception {
        if (tearDown != null) {
          tearDown.run();
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/Partially.java

     * under GWT but with a slightly different signature.
     *
     * <p>We can't use {@code PartiallyGwtIncompatible} because then the GWT compiler wouldn't recognize
     * it as a {@code GwtIncompatible} annotation. And for {@code Futures.catching}, we need the GWT
     * compiler to autostrip the normal server method in order to expose the special, inherited GWT
     * version.
     */
    @GwtCompatible
    final class Partially {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

        public Builder<E> add(E... elements) {
          checkNotNull(elements); // for GWT
          for (E element : elements) {
            add(checkNotNull(element));
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        public Builder<E> addAll(Iterable<? extends E> elements) {
          checkNotNull(elements); // for GWT
          for (E element : elements) {
            add(checkNotNull(element));
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToString_oneField() {
        String toTest = MoreObjects.toStringHelper(new TestClass()).add("field1", "Hello").toString();
        assertThat(toTest).isEqualTo("TestClass{field1=Hello}");
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToString_oneIntegerField() {
        String toTest =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 22K bytes
    - Click Count (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SortedMultiset.java

     */
    
    package com.google.common.collect;
    
    import java.util.Comparator;
    import java.util.SortedSet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * GWT emulation of {@code SortedMultiset}, with {@code elementSet} reduced to returning a {@code
     * SortedSet} for GWT compatibility.
     *
     * @author Louis Wasserman
     * @since 11.0
     */
    public interface SortedMultiset<E extends @Nullable Object> extends Multiset<E>, SortedIterable<E> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  6. guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/TestPlatform.java

        }
      }
    
      static void verifyThreadWasNotInterrupted() {
        // There is no thread interruption in GWT, so there's nothing to do.
      }
    
      static void clearInterrupt() {
        // There is no thread interruption in GWT, so there's nothing to do.
      }
    
      static <V extends @Nullable Object> V getDoneFromTimeoutOverload(Future<V> future)
          throws ExecutionException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  7. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java

     * versions of the {@link FluentFuture#catching(Class, com.google.common.base.Function)
     * FluentFuture.catching} family of methods. Those versions have slightly different signatures.
     */
    abstract class GwtFluentFutureCatchingSpecialization<V extends @Nullable Object>
        extends AbstractFuture<V> {
      /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  8. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Platform.java

    /** Methods factored out so that they can be emulated differently in GWT. */
    final class Platform {
      static boolean isInstanceOfThrowableClass(Throwable t, Class<? extends Throwable> expectedClass) {
        /*
         * This method is used only by CatchingFuture, and CatchingFuture accepts only Throwable.class
         * under GWT.
         */
        return true;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 27 16:15:49 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

    /**
     * Hidden superclass of {@link Futures} that provides us a place to declare special GWT versions of
     * the {@link Futures#catching(ListenableFuture, Class, com.google.common.base.Function)
     * Futures.catching} family of methods. Those versions have slightly different signatures.
     */
    abstract class GwtFuturesCatchingSpecialization {
      /*
       * In the GWT versions of the methods (below), every exceptionType parameter is required to be
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java

    import com.google.common.annotations.J2ktIncompatible;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Hidden superclass of {@link FluentFuture} that provides us a place to declare special GWT
     * versions of the {@link FluentFuture#catching(Class, com.google.common.base.Function)
     * FluentFuture.catching} family of methods. Those versions have slightly different signatures.
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top