Enhanced documentation files. First take.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137053 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2002-09-21 04:22:28 +00:00
parent 1abb2a5a3a
commit 17c61e6bd2
4 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,6 @@
<html>
<body>
These builders assist with creating good equals(), toString(), hashCode(),
and compareTo() methods.
</body>
</html>

View File

@ -0,0 +1,34 @@
<html>
<body>
An implementation of the C style 'enum' in the Java world.
The classic example being an RGB color enumeration.
<pre>
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);
}
}
</pre>
</body>
</html>

View File

@ -0,0 +1,9 @@
<html>
<body>
Provides a JDK 1.4 style Nested Exception functionality for those on prior
versions. <br>
Also a static utility which creates a version independent Nested
Exception which can handle JDK 1.4 Exceptions as well as others. <br>
Lastly, ExceptionUtils also contains the all-important Exception to String methods.
</body>
</html>

View File

@ -0,0 +1,6 @@
<html>
<body>
A collection of highly reusable static utility methods, chiefly concerned
with adding value to java.lang and other standard core classes.
</body>
</html>