Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for MAX_RADIX (0.07 sec)

  1. guava/src/com/google/common/primitives/UnsignedInteger.java

        return toString(10);
      }
    
      /**
       * Returns a string representation of the {@code UnsignedInteger} value, in base {@code radix}. If
       * {@code radix < Character.MIN_RADIX} or {@code radix > Character.MAX_RADIX}, the radix {@code
       * 10} is used.
       */
      public String toString(int radix) {
        return UnsignedInts.toString(value, radix);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Longs.java

       *     Character.MAX_RADIX}
       * @throws NullPointerException if {@code string} is {@code null}
       * @since 19.0
       */
      @CheckForNull
      public static Long tryParse(String string, int radix) {
        if (checkNotNull(string).isEmpty()) {
          return null;
        }
        if (radix < Character.MIN_RADIX || radix > Character.MAX_RADIX) {
          throw new IllegalArgumentException(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Longs.java

       *     Character.MAX_RADIX}
       * @throws NullPointerException if {@code string} is {@code null}
       * @since 19.0
       */
      @CheckForNull
      public static Long tryParse(String string, int radix) {
        if (checkNotNull(string).isEmpty()) {
          return null;
        }
        if (radix < Character.MIN_RADIX || radix > Character.MAX_RADIX) {
          throw new IllegalArgumentException(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 29K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.tryParse(value)).isEqualTo(expected);
      }
    
      public void testTryParse_radix() {
        for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) {
          radixEncodeParseAndAssertEquals(0, radix);
          radixEncodeParseAndAssertEquals(8000, radix);
          radixEncodeParseAndAssertEquals(-8000, radix);
          radixEncodeParseAndAssertEquals(GREATEST, radix);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(Longs.tryParse(value)).isEqualTo(expected);
      }
    
      public void testTryParse_radix() {
        for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) {
          radixEncodeParseAndAssertEquals((long) 0, radix);
          radixEncodeParseAndAssertEquals((long) 8000, radix);
          radixEncodeParseAndAssertEquals((long) -8000, radix);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Ints.java

       *     {@code string} has a length of zero or cannot be parsed as an integer value
       * @throws IllegalArgumentException if {@code radix < Character.MIN_RADIX} or {@code radix >
       *     Character.MAX_RADIX}
       * @throws NullPointerException if {@code string} is {@code null}
       * @since 19.0
       */
      @CheckForNull
      public static Integer tryParse(String string, int radix) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
Back to top