Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 50 for _gwt (0.02 seconds)

  1. 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)
  2. guava/src/com/google/common/collect/ImmutableMapEntrySet.java

          this.map = map;
          this.entries = entries;
        }
    
        @Override
        ImmutableMap<K, V> map() {
          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() {
    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)
  3. android/guava/src/com/google/common/primitives/Ints.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 int min(int... array) {
        checkArgument(array.length > 0);
        int min = array[0];
        for (int i = 1; i < array.length; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 31.3K bytes
    - Click Count (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

        }
    
        public ImmutableMap<K, V> buildKeepingLast() {
          if (valueComparator != null) {
            // Probably not worth supporting this in GWT
            throw new UnsupportedOperationException(
                "orderEntriesByValue + buildKeepingLast not supported under GWT");
          }
          return build(/* throwIfDuplicateKeys= */ false);
        }
    
        ImmutableMap<K, V> buildJdkBacked() {
          return build();
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:51:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableMapEntrySet.java

          this.map = map;
          this.entries = entries;
        }
    
        @Override
        ImmutableMap<K, V> map() {
          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() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

       * number of elements and whose elements may change over time.
       *
       * <p>This test might fail in GWT because the GWT emulations might count on the input collection
       * not to change during the copy. It is safe to do so in GWT because javascript is
       * single-threaded.
       */
      @GwtIncompatible // GWT is single threaded
      public void testCopyOf_threadSafe() {
        /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 18.5K bytes
    - Click Count (0)
  7. 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++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  8. 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++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  9. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link FakeTicker}.
     *
     * @author Jige Yu
     */
    @GwtCompatible
    // We also want to test the TimeUnit overload (especially under GWT, where it's the only option).
    @SuppressWarnings("SetAutoIncrementStep_Nanos")
    @NullUnmarked
    public class FakeTickerTest extends TestCase {
    
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ArrayTable.java

        @SuppressWarnings("unchecked")
        @Nullable V[][] tmpArray = (@Nullable V[][]) new Object[rowList.size()][columnList.size()];
        array = tmpArray;
        // Necessary because in GWT the arrays are initialized with "undefined" instead of null.
        eraseAll();
      }
    
      private ArrayTable(Table<R, C, ? extends @Nullable V> table) {
        this(table.rowKeySet(), table.columnKeySet());
        putAll(table);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.9K bytes
    - Click Count (0)
Back to Top