使用Map提高查找效率 import java.util.*; public class Main { private final static int BASE = 16; private static Map<Character, Integer> map = new HashMap<Character, Integer>() {{ put('0', 0); put('1', 1); put('2', 2); put('3', 3); put('4', 4); put('5', 5...