| 类 | 说明 |
|---|---|
| ArrayMap<K,V> |
ArrayMap is a generic key->value mapping data structure that is
designed to be more memory efficient than a traditional
HashMap. |
| ArraySet<E> |
ArraySet is a generic set data structure that is designed to be more memory efficient than a
traditional
HashSet. |
| Log |
日志实现
|
| LongSparseArray<E> |
SparseIntArray 的内部是通过两个数组对数据进行存储的, key 为 long 数组, value 为 Object 数组
SparseArray mapping longs to Objects.
|
| LruCache<K,V> |
BEGIN LAYOUTLIB CHANGE
This is a custom version that doesn't use the non standard LinkedHashMap#eldest.
|
| Pair<F,S> |
Container to ease passing around a tuple of two objects.
|
| Patterns |
Commonly used regular expression patterns.
|
| SparseArray<E> |
SparseArray 的内部是通过两个数组对数据进行存储的, key 为 int 数组, value 为 Object 数组
- SparseArray 比 HashMap 更省内存,
- 在某些条件下性能更好,它避免了对 key 的自动装箱(int 转为 Integer 类型)
- 由于是整数key,所以添加删除可以使用二分查找
- ...
|
| SparseBooleanArray |
SparseBooleanArray 的内部是通过两个数组对数据进行存储的, key 为 int 数组, value 为 boolean 数组
SparseBooleanArrays map integers to booleans.
|
| SparseIntArray |
SparseIntArray 的内部是通过两个数组对数据进行存储的, key 为 int 数组, value 为 int 数组
SparseIntArrays map integers to integers.
|
| SparseLongArray |
SparseLongArray 的内部是通过两个数组对数据进行存储的, key 为 int 数组, value 为 long 数组
SparseLongArrays map integers to longs.
|
| UtilConfig |
Class to configure several of the util classes.
|
| 注释类型 | 说明 |
|---|---|
| Log.LogLevelId |
日志级别的标识
|
Copyright © 2020. All rights reserved.