Apache common lang

Java Source Code / Java Documentation
1. JDK Core
2. JDK Modules
3. JDK Modules com.sun
4. JDK Modules com.sun.java
5. JDK Modules Platform
6. JDK Modules sun
7. Open Source Build
8. Open Source Graphic Library
9. Open Source IDE Eclipse
10. Open Source J2EE
11. Open Source JDBC Driver
12. Open Source Library
13. Open Source Library Database
14. Open Source Net
15. Open Source Script
16. Science
17. Security
18. Sevlet Container
19. SUN GlassFish
20. Swing Library
21. Web Services apache cxf 2.0.1
22. Web Services AXIS2
23. XML
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Java Source Code / Java Documentation » Open Source Library » Apache common lang 
The Apache Commons Lang
License:Apache License
URL:http://commons.apache.org/lang/
Description:Provides extra functionality for classes in java.lang.
Package NameComment
org.apache.commons.lang Provides highly reusable static utility methods, chiefly concerned with adding value to {@link java.lang} and other standard core classes. @since 1.0
org.apache.commons.lang.builder Assists in creating consistent equals(Object), toString(), hashCode(), and compareTo(Object) methods. @see java.lang.Object#equals(Object) @see java.lang.Object#toString() @see java.lang.Object#hashCode() @see java.lang.Comparable#compareTo(Object) @since 1.0
org.apache.commons.lang.enum

Deprecated and replaced by {@link org.apache.commons.lang.enums} and will be removed in version 3.0.

All classes in this package are deprecated and repackaged to {@link org.apache.commons.lang.enums} since enum is a Java 1.5 keyword.

Provides an implementation of the C style enum in the Java world.

The classic example being an RGB color enumeration.

public final class ColorEnum extends Enum {
    public static final ColorEnum RED = new ColorEnum("Red");
    public static final ColorEnum GREEN = new ColorEnum("Green");
    public static final ColorEnum BLUE = new ColorEnum("Blue");

    private ColorEnum(String color) {
        super(color);
    }

    public static ColorEnum getEnum(String color) {
        return (ColorEnum) getEnum(ColorEnum.class, color);
    }

    public static Map getEnumMap() {
        return getEnumMap(ColorEnum.class);
    }

    public static List getEnumList() {
        return getEnumList(ColorEnum.class);
    }

    public static Iterator iterator() {
        return iterator(ColorEnum.class);
    }
}
@since 1.0
org.apache.commons.lang.enums

Provides an implementation of the C style enum in the Java world.

The classic example being an RGB color enumeration.

public final class ColorEnum extends Enum {
    public static final ColorEnum RED = new ColorEnum("Red");
    public static final ColorEnum GREEN = new ColorEnum("Green");
    public static final ColorEnum BLUE = new ColorEnum("Blue");

    private ColorEnum(String color) {
        super(color);
    }

    public static ColorEnum getEnum(String color) {
        return (ColorEnum) getEnum(ColorEnum.class, color);
    }

    public static Map getEnumMap() {
        return getEnumMap(ColorEnum.class);
    }

    public static List getEnumList() {
        return getEnumList(ColorEnum.class);
    }

    public static Iterator iterator() {
        return iterator(ColorEnum.class);
    }
}
@since 2.1
org.apache.commons.lang.exception Provides JDK 1.4 style Nested Exception functionality for those on prior Java versions.

Includes a static utility to create version independent Nested Exception which can handle JDK 1.4 Exceptions as well as others.

Lastly, {@link org.apache.commons.lang.exception.ExceptionUtils} also contains Throwable manipulation and examination routines.

@since 1.0
org.apache.commons.lang.math Extends {@link java.math} for business mathematical classes. This package is intended for business mathematical use, not scientific use. @since 2.0
org.apache.commons.lang.mutable Provides typed mutable wrappers to primitive values and Object. @since 2.1
org.apache.commons.lang.text

Provides classes for handling and manipulating text, partly as an extension to {@link java.text}. The classes in this package are, for the most part, intended to be instantiated. (ie. they are not utility classes with lots of static methods)

@since 2.1
org.apache.commons.lang.time

Provides classes and methods to work with dates and durations.

This includes:

  • DateUtils - a set of static utility methods for working with dates
  • FastDateFormat - a replacement for SimpleDateFormat that is fast and thread-safe
  • DateFormatUtils - a formatting class for dates
  • StopWatch - a duration timer
@since 2.0
w__w___w__._j___a_v_a__2_s_.___c__o_m__ | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.