Enum Class ContainerOperationType
java.lang.Object
java.lang.Enum<ContainerOperationType>
com.caplin.datasource.messaging.container.ContainerOperationType
- All Implemented Interfaces:
Serializable
,Comparable<ContainerOperationType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresents an operation to add an element into a container.Represents an operation to insert an element into a container at a specified position.Represents an operation to remove an element from a container.Represents an operation to remove all elements from a container that match a specified prefix. -
Method Summary
Modifier and TypeMethodDescriptionstatic ContainerOperationType
Returns the enum constant of this class with the specified name.static ContainerOperationType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADD
Represents an operation to add an element into a container. -
REMOVE
Represents an operation to remove an element from a container. -
INSERT
Represents an operation to insert an element into a container at a specified position. -
REMOVE_WITH_PREFIX
Represents an operation to remove all elements from a container that match a specified prefix.
-
-
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
-