Empty Collections : Prebuilt Collections « Collections « Java Tutorial






The Collections class provides three constants to represent empty collections

public static final List EMPTY_LIST
public static final Map EMPTY_MAP
public static final Set EMPTY_SET
9.46.Prebuilt Collections
9.46.1.Empty Collections
9.46.2.Singleton Collections