org.pentaho.reporting.libraries.base.util
Class Empty

java.lang.Object
  extended by org.pentaho.reporting.libraries.base.util.Empty

public final class Empty
extends java.lang.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 java.util.List LIST
          An empty List.
static java.util.Map MAP
          An empty Map.
static java.lang.String STRING
          The empty string.
static java.lang.String[] STRING_ARRAY
          An empty array of Strings.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRING

public static final java.lang.String STRING
The empty string.

See Also:
Constant Field Values

STRING_ARRAY

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


MAP

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


LIST

public static final java.util.List LIST
An empty List.