Apache Commons是项目中用来处理Java基本对象方法的工具类包,Commons-Lang 是Apache Commons系列中使用频率最多的一个包。Commons-Lang 的包结构如下:
org.apache.commons.lang3 | Provides highly reusable static utility methods, chiefly concerned with adding value to thejava.lang classes. |
org.apache.commons.lang3.builder | Assists in creating consistent equals(Object) , toString() , hashCode() , and compareTo(Object) methods. |
org.apache.commons.lang3.concurrent | Provides support classes for multi-threaded programming. |
org.apache.commons.lang3.event | Provides some useful event-based utilities. |
org.apache.commons.lang3.exception | Provides functionality for Exceptions. |
org.apache.commons.lang3.math | Extends java.math for business mathematical classes. |
org.apache.commons.lang3.mutable | Provides typed mutable wrappers to primitive values and Object. |
org.apache.commons.lang3.reflect | Accumulates common high-level uses of the java.lang.reflect APIs. |
org.apache.commons.lang3.text | rovides classes for handling and manipulating text, partly as an extension tojava.text . |
org.apache.commons.lang3.text.translate | An API for creating text translation routines from a set of smaller building blocks. |
org.apache.commons.lang3.time | Provides classes and methods to work with dates and durations. |
org.apache.commons.lang3.tuple | Tuple classes, starting with a Pair class in version 3.0. |