Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 312 for GWT (0.14 sec)

  1. android/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();
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/annotations/GwtIncompatible.java

     * the <a href="http://www.gwtproject.org/">Google Web Toolkit</a> (GWT).
     *
     * <p>This annotation behaves identically to <a href=
     * "http://www.gwtproject.org/javadoc/latest/com/google/gwt/core/shared/GwtIncompatible.html">the
     * {@code @GwtIncompatible} annotation in GWT itself</a>.
     *
     * @author Charles Fry
     */
    @Retention(RetentionPolicy.CLASS)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 1.9K bytes
    - Viewed (0)
  3. 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();
        assertEquals("TestClass{field1=Hello}", toTest);
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToString_oneIntegerField() {
        String toTest =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java

        } catch (RuntimeException tolerated) {
          // GWT's HashMap.entrySet().removeAll(null) doesn't throws NPE.
        }
      }
    
      @Override
      public void testEntrySetRetainAllNullFromEmpty() {
        try {
          super.testEntrySetRetainAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
          // GWT's HashMap.entrySet().retainAll(null) doesn't throws NPE.
        }
      }
    
      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. 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.
     */
    @ElementTypesAreNonnullByDefault
    abstract class GwtFuturesCatchingSpecialization {
      /*
       * In the GWT versions of the methods (below), every exceptionType parameter is required to be
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 08 20:30:27 GMT 2022
    - 2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMultisetGwtSerializationDependencies.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A dummy superclass to support GWT serialization of the element type of an {@link
     * ImmutableMultiset}. The GWT supersource for this class contains a field of type {@code E}.
     *
     * <p>For details about this hack, see {@code GwtSerializationDependencies}, which takes the same
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 1.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Charsets.java

       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
       * java.nio.charset.StandardCharsets#US_ASCII} instead.
       *
       */
      @J2ktIncompatible
      @GwtIncompatible // Charset not supported by GWT
      public static final Charset US_ASCII = Charset.forName("US-ASCII");
    
      /**
       * ISO-8859-1: ISO Latin Alphabet Number 1 (ISO-LATIN-1).
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ForwardingSortedMapImplementsMapTest.java

        } catch (RuntimeException tolerated) {
          // GWT's TreeMap.entrySet().removeAll(null) doesn't throws NPE.
        }
      }
    
      @Override
      public void testEntrySetRetainAllNullFromEmpty() {
        try {
          super.testEntrySetRetainAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
          // GWT's TreeMap.entrySet().retainAll(null) doesn't throws NPE.
        }
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. 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();
        assertEquals("TestClass{field1=Hello}", toTest);
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToString_oneIntegerField() {
        String toTest =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  10. 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));
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 5K bytes
    - Viewed (0)
Back to top