Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. guava-gwt/pom.xml

      </parent>
      <artifactId>guava-gwt</artifactId>
      <name>Guava GWT compatible libs</name>
      <description>
        Guava is a suite of core and expanded libraries that include
        utility classes, Google's collections, I/O classes, and
        much more.
    
        This project includes GWT-friendly sources.
      </description>
      <properties>
        <gwt.version>2.11.0</gwt.version>
        <gwt.plugin.version>2.10.0</gwt.plugin.version>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 15:00:55 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/IntMathTest.java

      @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath
      public void testMaxLog10ForLeadingZeros() {
        for (int i = 0; i < Integer.SIZE; i++) {
          assertEquals(
              BigIntegerMath.log10(BigInteger.ONE.shiftLeft(Integer.SIZE - i), FLOOR),
              IntMath.maxLog10ForLeadingZeros[i]);
        }
      }
    
      @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Floats.java

       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
      @GwtIncompatible(
          "Available in GWT! Annotation is to avoid conflict with GWT specialization of base class.")
      public static float min(float... array) {
        checkArgument(array.length > 0);
        float min = array[0];
        for (int i = 1; i < array.length; i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/IntMathTest.java

      @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath
      public void testMaxLog10ForLeadingZeros() {
        for (int i = 0; i < Integer.SIZE; i++) {
          assertEquals(
              BigIntegerMath.log10(BigInteger.ONE.shiftLeft(Integer.SIZE - i), FLOOR),
              IntMath.maxLog10ForLeadingZeros[i]);
        }
      }
    
      @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Doubles.java

       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
      @GwtIncompatible(
          "Available in GWT! Annotation is to avoid conflict with GWT specialization of base class.")
      public static double min(double... array) {
        checkArgument(array.length > 0);
        double min = array[0];
        for (int i = 1; i < array.length; i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("-xx", Strings.padStart("xx", 3, '-'));
      }
    
      public void testPadStart_negativeMinLength() {
        assertSame("x", Strings.padStart("x", -1, '-'));
      }
    
      // TODO: could remove if we got NPT working in GWT somehow
      public void testPadStart_null() {
        try {
          Strings.padStart(null, 5, '0');
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testPadEnd_noPadding() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ContiguousSet.java

      abstract ContiguousSet<C> headSetImpl(C toElement, boolean inclusive);
    
      @SuppressWarnings("MissingOverride") // Supermethod does not exist under GWT.
      abstract ContiguousSet<C> subSetImpl(
          C fromElement, boolean fromInclusive, C toElement, boolean toInclusive);
    
      @SuppressWarnings("MissingOverride") // Supermethod does not exist under GWT.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

            state = other.state;
    
            notifyAndClearListeners();
            return;
          }
    
          /*
           * Almost everything in GWT is an AbstractFuture (which is as good as TrustedFuture under
           * GWT). But ImmediateFuture and UncheckedThrowingFuture aren't, so we still need this case.
           */
          try {
            forceSet(getDone(delegate));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top