程序包 org.beetl.core.util


package 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 traditional HashSet.
    ArrayUtils contains some methods that you can call to find out the most efficient increments by which to grow arrays.
    保留了各种类型的空数组的引用,以避免申请多余的内存空间
    Please implement this interface if your CharSequence has a getChars() method like the one in String that is faster than calling charAt() multiple times.
    A helper class that aims to provide comparable growth performance to ArrayList, but on primitive arrays.
    日志实现
    提供给外部的实现
    日志级别的标识
    SparseIntArray 的内部是通过两个数组对数据进行存储的, key 为 long 数组, value 为 Object 数组 SparseArray mapping longs to Objects.
    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.
    Commonly used regular expression patterns.
    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.
    文本工具类 修改自 android.text.TextUtil
    An interface for splitting strings according to rules that are opaque to the user of this interface.
     
    Class to configure several of the util classes.