@CheckReturnValue public final class Defaults extends Object
Modifier and Type | Method and Description |
---|---|
static <T> T |
defaultValue(Class<T> type)
Returns the default value of
type as defined by JLS --- 0 for numbers, false for boolean and '\0' for char . |
Copyright © 2010-2016 JBoss by Red Hat. All Rights Reserved.