org.pentaho.reporting.libraries.base.util

Class Empty

public final class Empty extends Object

Class which holds a static reference to a set of empty objects. This is created for performance reasons. Using this class will prevent creating duplicated "empty" object.

Author: David Kincade

Field Summary
static ListLIST
An empty List.
static MapMAP
An empty Map.
static StringSTRING
The empty string.
static String[]STRING_ARRAY
An empty array of Strings.

Field Detail

LIST

public static final List LIST
An empty List.

MAP

public static final Map MAP
An empty Map. (Collections.EMPTY_MAP is not available until JDK 1.4)

STRING

public static final String STRING
The empty string.

STRING_ARRAY

public static final String[] STRING_ARRAY
An empty array of Strings.