zombie.util.map
Class MapDefaults

java.lang.Object
  extended by zombie.util.map.MapDefaults

public class MapDefaults
extends java.lang.Object

This class implements methods for retrieving default values for each of the primitive types. The default values are returned by the maps' get()-methods when a specified key does not map to any value.

Note: Later versions may provide the ability to configure the default values returned by maps.

Since:
1.0
Version:
1.0 2002/29/12
Author:
Søren Bak

Constructor Summary
MapDefaults()
           
 
Method Summary
static int defaultInt()
          Returns a default int value (0).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapDefaults

public MapDefaults()
Method Detail

defaultInt

public static int defaultInt()
Returns a default int value (0).

Returns:
a default int value (0).