由于是浅析,所以我只分析常用的接口,注意是Android系统中的JAVA类,可能和JDK的源码有区别. 首先从构造函数开始, /** * Min capacity (other than zero) for a HashMap. Must be a power of two * greater than 1 (and less than 1 << 30). */ private static final int MINIMUM_CAPACITY = 4; /** * Max capacity…
官方网址: http://source.android.com/source/building.html 下面摘录相关内容: Downloading and Building The Android build is routinely tested in-house on recent versions of Ubuntu LTS (12.04), but most distributions should have the required build tools available. We…