Class Empty
- java.lang.Object
-
- org.pentaho.reporting.libraries.base.util.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
Fields Modifier and Type Field Description static List
LIST
Deprecated.this is a redeclaration of the Collections.EMPTY_LIST field and should be killed.static Map
MAP
Deprecated.this is a redeclaration of the Collections.EMPTY_MAP field and should be killed.static String
STRING
The empty string.static String[]
STRING_ARRAY
An empty array of Strings.
-
-
-
Field Detail
-
STRING
public static final String STRING
The empty string.- See Also:
- Constant Field Values
-
STRING_ARRAY
public static final String[] STRING_ARRAY
An empty array of Strings.
-
MAP
public static final Map MAP
Deprecated.this is a redeclaration of the Collections.EMPTY_MAP field and should be killed.An empty Map. (Collections.EMPTY_MAP is not available until JDK 1.4)
-
LIST
public static final List LIST
Deprecated.this is a redeclaration of the Collections.EMPTY_LIST field and should be killed.An empty List.
-
-