读JDK源码

xiaoxiao2026-08-20  10

private static String toUnsignedString(int i, int shift) { char[] buf = new char[32]; int charPos = 32; int radix = 1 << shift; int mask = radix - 1; do { buf[--charPos] = digits[i & mask]; i >>>= shift; } while (i != 0); return new String(buf, charPos, (32 - charPos));}i = -1;i = 1;见Java编程思想operators章节本文来自博客,转载请标明出处:http://blog.csdn.net/numbernumber1111/archive/2009/03/26/4028195.aspx
转载请注明原文地址: https://www.6miu.com/read-5051561.html

最新回复(0)