Apache Commons logo Commons Lang

Commons Lang

The standard Java libraries fail to provide enough methods for manipulation of its core classes. Apache Commons Lang provides these extra methods.

Apache Commons Lang provides a host of helper utilities for the java.lang API, notably String manipulation methods, basic numerical methods, object reflection, concurrency, creation and serialization and System properties. Additionally it contains basic enhancements to java.util.Date and a series of utilities dedicated to help with building methods, such as hashCode, toString and equals.

Note that Commons Lang 3.0 (and subsequent versions) use a different package (org.apache.commons.lang3) than the previous versions (org.apache.commons.lang), allowing Commons Lang 3 to be used at the same time as Commons Lang 2.

Documentation

The package descriptions in the Javadoc give an overview of the available features and various project reports are provided.

The Javadoc API documents are available online:

The git repository can be browsed, or you can browse/contribute via GitHub.

Release Information

Read about the latest release:

For information on previous releases see the Release History, and to download previous releases see the Commons Lang Archive.

Getting Involved

The commons developer mailing list is the main channel of communication for contributors. Please remember that the lists are shared between all commons components, so prefix your email by [lang].

You can also peruse JIRA. Specific links of interest for JIRA are:

Alternatively you can go through the Needs Work tags in the TagList report.

If you'd like to offer up pull requests via GitHub rather than applying patches to JIRA, we have a GitHub mirror.

Support

The commons mailing lists act as the main support forum. The user list is suitable for most library usage queries. The dev list is intended for the development discussion. Please remember that the lists are shared between all commons components, so prefix your email by [lang].

Bug reports and enhancements are also welcomed via the JIRA issue tracker. Please read the instructions carefully.