Commons Lang

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

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 Lang 3.0 (and subsequent versions) use a different package (org.apache.commons.lang3) than the previous versions (org.apache.commons.lang), allowing it to be used at the same time as an earlier version.

Documentation

A getting started user guide is available together with various project reports.

The JavaDoc API documents are available online:

The subversion repository can be browsed.

Release Information

The latest stable release of Lang is 3.0.2. You may:

Alternatively you can pull it from the central Maven repositories:

  <groupId>org.apache.commons</groupId>
  <artifactId>commons-lang3</artifactId>
  <version>3.0.2</version>

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

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.