Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for parseUnsignedInt (0.05 sec)

  1. android/guava/src/com/google/common/primitives/UnsignedInts.java

       *
       * <p><b>Java 8+ users:</b> use {@link Integer#parseUnsignedInt(String)} instead.
       *
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code int} value
       * @throws NullPointerException if {@code s} is null (in contrast to {@link
       *     Integer#parseInt(String)})
       */
      @CanIgnoreReturnValue
      public static int parseUnsignedInt(String s) {
        return parseUnsignedInt(s, 10);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Feb 09 16:22:33 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/UnsignedInteger.java

       *     value
       */
      public static UnsignedInteger valueOf(String string, int radix) {
        return fromIntBits(UnsignedInts.parseUnsignedInt(string, radix));
      }
    
      /**
       * Returns the result of adding this and {@code val}. If the result would have more than 32 bits,
       * returns the low 32 bits of the result.
       *
       * @since 14.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Converter.java

     *       be overridden.
     * </ul>
     *
     * <h3>Example</h3>
     *
     * {@snippet :
     * return Converter.from(
     *     Integer::toHexString,
     *     s -> parseUnsignedInt(s, 16));
     * }
     *
     * <p>An alternative using a subclass:
     *
     * {@snippet :
     * return new Converter<Integer, String>() {
     *   @Override
     *   protected String doForward(Integer i) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
Back to top