Package org.alfresco.util
Enum EqualsHelper.MapValueComparison
- All Implemented Interfaces:
Serializable
,Comparable<EqualsHelper.MapValueComparison>
,java.lang.constant.Constable
- Enclosing class:
- EqualsHelper
Enumeration for results returned by
map comparisons
.- Since:
- 3.3
- Author:
- Derek Hulley
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe key was present in both maps and the values were equalThe key was only present in the left mapThe key was present in both maps but not equalThe key was only present in the right map -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static EqualsHelper.MapValueComparison[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LEFT_ONLY
The key was only present in the left map -
RIGHT_ONLY
The key was only present in the right map -
EQUAL
The key was present in both maps and the values were equal -
NOT_EQUAL
The key was present in both maps but not equal
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-