| Interface | Description |
|---|---|
| ClassResourceUtils.FileFilter |
文件名过滤器接口
|
| CollectionUtils.DualTransformer<L,R> |
dual transform type between L and R
CollectionUtils.DualTransformer.toRight(Object) L -> RCollectionUtils.DualTransformer.fromRight(Object) R -> L |
| CollectionUtils.Function<F,T> | |
| Delegator<T> |
装饰者模式接口
|
| ILazyInitVariable<T> |
延迟初始化(Lazy initialization)变量封装接口
|
| TypeUtils.Action |
| Class | Description |
|---|---|
| Assert |
断言类
|
| Base64Utils |
copy from org.apache.axiom.util.base64.Base64Utils(axiom-api-1.2.13.jar)
|
| BaseTls<T> |
基于Thread Local Storage的双重检查锁定实现
ILazyInitVariable的抽象类原理说明参见《The "Double-Checked Locking is Broken" Declaration》 |
| BaseTypeTransformer |
类型转换工具类
|
| BaseVolatile<T> |
基于volatile的双重检查锁定实现
ILazyInitVariable的抽象类原理说明参见《The "Double-Checked Locking is Broken" Declaration》 要求 JDK5 以上版本 |
| BeanPropertyUtils | |
| BeanRelativeUtilits | |
| BeanRelativeUtilits.FieldComparator | |
| BufferUtils |
NIO Buffer工具类
|
| ClassLoaderUtils | |
| ClassResourceUtils |
classpath resource 工具
|
| CmdExecutor |
linux命令行执行器
|
| CollectionUtils | |
| Configuration |
读取配置文件(properties)中的参数
|
| ConfigUtils |
配置文件读取工具类
|
| DefaultExecutorProvider |
提供全局线程池对象
线程池对象在应用程序结束时自动退出 |
| EnumTransformer<L extends java.lang.Enum<L>,R extends java.lang.Enum<R>> |
枚举类型转换
|
| FaceUtilits | |
| FaceUtilitsX | |
| ILazyInitVariable.BaseLazyVar<T> | |
| InterfaceDecorator<I,T> |
实现接口实例
应用层可以根据需要继承此类重写 InterfaceDecorator.invoke(Object, Method, Object[])方法 |
| Judge |
条件判断
|
| LenientDecoratorOfDescriptor |
重写
LenientDecoratorOfDescriptor.getWriteMethod()方法,允许返回类型不为void的write方法 |
| NameStringUtils | |
| NativeUtils |
从jar包中加载指定路径下的动态库
|
| NetworkUtil |
网络管理工具类
|
| ParameterizedTypeImpl |
基于jdk1.7中
sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl实现修正原版本中toString方法错误 |
| ParameterNames |
获取构造函数或方法的参数名
当不能获取参数名的情况下, returnFakeNameIfFail为false时返回null,否则返回返回arg,arg2...格式的替代名returnFakeNameIfFail默认为true |
| Platform |
copy from jna-4.1.0.jar com.sun.jna.Platform but 'is64Bit' method
|
| ReflectionUtils | |
| ResourcePool<R> |
资源池管理对象
ResourcePool.apply(),ResourcePool.free()用于申请/释放资源,申请的资源对象不可跨线程调用,通过重写 ResourcePool.isNestable()方法决定是否允许嵌套调用 |
| ResourcePool.IntResourcePool |
以固定步长生成的一组数字为资源的资源池对象
|
| SampleLog |
简单日志输出工具类
|
| ShareLock | |
| TimeCostProbe |
耗时统计对象
用于程序执行耗时统计 |
| TypeTransformer | Deprecated
be replaced by
BaseTypeTransformer |
| TypeUtils |
对象类型相关工具
|
| Enum | Description |
|---|---|
| ClassLoaderUtils.ParentStrategy |
parent为null时策略defaultParentLoader 使用default parent class loader,参见URLClassLoader.newInstance(URL[])threadContextLoader 使用当前线程的Thread Context ClassLoader作为parent,参见Thread.getContextClassLoader() currentClassLoader 使用当前类(ClassLoaderUtils)的class loader |
| NetworkUtil.ConnectStatus |
连接测试返回状态
|
| NetworkUtil.Filter | |
| NetworkUtil.Radix |
Copyright © 2019. All rights reserved.