|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.hammingweight.hammock.DefaultValues
public class DefaultValues
The DefaultValues class provides a utility method for providing default
instances of Java's wrapper classes. For example, the default instance of the
Boolean is Boolean(false).
| Constructor Summary | |
|---|---|
DefaultValues()
|
|
| Method Summary | |
|---|---|
static java.lang.Object |
getDefaultValue(java.lang.Class clazz)
Returns a default object corresponding to a specified Java wrapper class. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultValues()
| Method Detail |
|---|
public static java.lang.Object getDefaultValue(java.lang.Class clazz)
clazz - A wrapper class.
null if the
class is not a wrapper class.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||