程序包的使用
org.beetl.core.util
使用org.beetl.core.util的程序包
-
类说明ArrayMap is a generic key->value mapping data structure that is designed to be more memory efficient than a traditional
HashMap.ArraySet is a generic set data structure that is designed to be more memory efficient than a traditionalHashSet.提供给外部的实现日志级别的标识SparseIntArray 的内部是通过两个数组对数据进行存储的, key 为 long 数组, value 为 Object 数组 SparseArray mapping longs to Objects.Container to ease passing around a tuple of two objects.SparseArray 的内部是通过两个数组对数据进行存储的, key 为 int 数组, value 为 Object 数组 - SparseArray 比 HashMap 更省内存, - 在某些条件下性能更好,它避免了对 key 的自动装箱(int 转为 Integer 类型) - 由于是整数key,所以添加删除可以使用二分查找 - ...SparseBooleanArray 的内部是通过两个数组对数据进行存储的, key 为 int 数组, value 为 boolean 数组 SparseBooleanArrays map integers to booleans.SparseIntArray 的内部是通过两个数组对数据进行存储的, key 为 int 数组, value 为 int 数组 SparseIntArrays map integers to integers.SparseLongArray 的内部是通过两个数组对数据进行存储的, key 为 int 数组, value 为 long 数组 SparseLongArrays map integers to longs.