Documentation of 'com.google.common.base.Defaults' Java class
Defaults
JavaScript is disabled on your browser.
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
java.lang.Object
com.google.common.base.Defaults
public final class Defaults
extends java.lang.Object
This class provides default values for all Java types, as defined by the JLS.
Since:
1.0
Method Summary
All Methods Static Methods Concrete Methods
Modifier and Type
Method and Description
static <T> T
defaultValue (java.lang.Class<T> type)
Returns the default value of type as defined by JLS --- 0 for numbers, false for boolean and '\0' for char.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail
defaultValue
public static <T> T defaultValue(java.lang.Class<T> type)
Returns the default value of type as defined by JLS --- 0 for numbers, false for boolean and '\0' for char. For non-primitive types and
void, null is returned.
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
DMelt 3.0 © DataMelt by jWork.ORG
You see the box below because you did not login.