直接上代码private static String decodeUnicode(String input) { if (null == input) return input; int len = input.length(); StringBuilder output = new StringBuilder(len); for (int x = 0; x len) { output.append(input.substring(x - 1)); ... Read More
其他转10进制 System.out.println(Integer.parseInt("10", 2));// bin System.out.println(Integer.parseInt("12", 3)); System.out.println(Integer.parseInt("742", 8));// oct System.out.println(Integer.parseInt("12A", 16));// hex10进制转2,8,16 System.out.println(Integer.toBin Read More