Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for J2KT (0.01 sec)

  1. guava-tests/test/com/google/common/collect/RangeTest.java

            .addEqualityGroup("Phil")
            .testEquals();
      }
    
      @GwtIncompatible // TODO(b/148207871): Restore once Eclipse compiler no longer flakes for this.
      @J2ktIncompatible // TODO(b/148207871): Likewise, or once J2KT uses javac instead of Eclipse.
      public void testLegacyComparable() {
        Range<LegacyComparable> unused = Range.closed(LegacyComparable.X, LegacyComparable.Y);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/LongMathTest.java

        for (long i : ALL_LONG_CANDIDATES) {
          for (int exp : EXPONENTS) {
            assertEquals(LongMath.pow(i, exp), valueOf(i).pow(exp).longValue());
          }
        }
      }
    
      @J2ktIncompatible // J2kt BigDecimal.divide also has the rounding bug
      @GwtIncompatible // TODO
      @AndroidIncompatible // TODO(cpovirk): File BigDecimal.divide() rounding bug.
      public void testDivNonZero() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals(asList(1, 2), partitions.get(0));
        assertEquals(asList(3), partitions.get(1));
      }
    
      @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT.
      @GwtIncompatible // ArrayList.subList doesn't implement RandomAccess in GWT.
      public void testPartitionRandomAccessTrue() {
        List<Integer> source = asList(1, 2, 3);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMap.java

          ImmutableMap<K, V> kvMap =
              (ImmutableMap<K, V>)
                  copyOfEnumMap(
                      (EnumMap<?, ? extends V>) map); // hide K (violates bounds) from J2KT, preserve V.
          return kvMap;
        }
        return copyOf(map.entrySet());
      }
    
      /**
       * Returns an immutable map containing the specified entries. The returned map iterates over
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SetsTest.java

        return new Object() {
          @Override
          public int hashCode() {
            return hashCode;
          }
        };
      }
    
      // TODO b/327389044 - `Set<? extends Object> elements` should be enough but J2KT needs the <E>
      private static <E> void assertPowerSetHashCode(int expected, Set<E> elements) {
        assertEquals(expected, powerSet(elements).hashCode());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
Back to top