Package io.deephaven.kv
Enum Class KeyValuesCollection.Empty
- All Implemented Interfaces:
KeyValuesCollection,Serializable,Comparable<KeyValuesCollection.Empty>,Constable
- Enclosing interface:
- KeyValuesCollection
public static enum KeyValuesCollection.Empty
extends Enum<KeyValuesCollection.Empty>
implements KeyValuesCollection
An empty key values collection
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface io.deephaven.kv.KeyValuesCollection
KeyValuesCollection.Empty -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns an immutable version ofthis.asMap()Return an unmodifiable map representing this collection.static KeyValuesCollection.EmptyReturns the enum constant of this class with the specified name.static KeyValuesCollection.Empty[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface io.deephaven.kv.KeyValuesCollection
containsKey, get, isEmpty, keys, keyValues
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
asImmutable
Description copied from interface:KeyValuesCollectionReturns an immutable version ofthis. May returnthisif it is immutable. Ensures that the caller can keep around their own immutable version.- Specified by:
asImmutablein interfaceKeyValuesCollection- Returns:
- an immutable version of
this
-
asMap
Description copied from interface:KeyValuesCollectionReturn an unmodifiable map representing this collection.Note: it is not necessarily the case that this map is immutable. If an immutable map is needed, use
asImmutable().asMap().- Specified by:
asMapin interfaceKeyValuesCollection- Returns:
- the unmodifiable map
-