public class MapDefaults extends Object
Note: Later versions may provide the ability to configure the default values returned by maps.
Constructor and Description |
---|
MapDefaults() |
Modifier and Type | Method and Description |
---|---|
static boolean |
defaultBoolean()
Returns a default boolean value (false).
|
static byte |
defaultByte()
Returns a default byte value (0).
|
static char |
defaultChar()
Returns a default char value ('\0').
|
static double |
defaultDouble()
Returns a default double value (0.0).
|
static float |
defaultFloat()
Returns a default float value (0.0f).
|
static int |
defaultInt()
Returns a default int value (0).
|
static long |
defaultLong()
Returns a default long value (0L).
|
static short |
defaultShort()
Returns a default short value (0).
|
public static boolean defaultBoolean()
public static char defaultChar()
public static byte defaultByte()
public static short defaultShort()
public static int defaultInt()
public static long defaultLong()
public static float defaultFloat()
public static double defaultDouble()
Copyright © 2011–2021. All rights reserved.