Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for forDigit (0.07 sec)

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

            } else {
              quotient = divide(x, radix);
            }
            long rem = x - quotient * radix;
            buf[--i] = Character.forDigit((int) rem, radix);
            x = quotient;
            // Simple modulo/division approach
            while (x > 0) {
              buf[--i] = Character.forDigit((int) (x % radix), radix);
              x /= radix;
            }
          }
          // Generate string
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/StringUtil.java

         *            追加先の文字列
         * @param i
         *            数値
         */
        public static void appendHex(final StringBuilder buf, final byte i) {
            buf.append(Character.forDigit((i & 0xf0) >> 4, 16));
            buf.append(Character.forDigit(i & 0x0f, 16));
        }
    
        /**
         * 文字列に、数値を16進数に変換した文字列を追加します。
         *
         * @param buf
         *            追加先の文字列
         * @param i
         *            数値
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top