Enum RMCollectionUtils.Difference
- java.lang.Object
-
- java.lang.Enum<RMCollectionUtils.Difference>
-
- org.alfresco.module.org_alfresco_module_rm.util.RMCollectionUtils.Difference
-
- All Implemented Interfaces:
Serializable
,Comparable<RMCollectionUtils.Difference>
- Enclosing class:
- RMCollectionUtils
public static enum RMCollectionUtils.Difference extends Enum<RMCollectionUtils.Difference>
This enum represents a change in an entry between 2 collections.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RMCollectionUtils.Difference
valueOf(String name)
Returns the enum constant of this type with the specified name.static RMCollectionUtils.Difference[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADDED
public static final RMCollectionUtils.Difference ADDED
-
REMOVED
public static final RMCollectionUtils.Difference REMOVED
-
CHANGED
public static final RMCollectionUtils.Difference CHANGED
-
UNCHANGED
public static final RMCollectionUtils.Difference UNCHANGED
-
-
Method Detail
-
values
public static RMCollectionUtils.Difference[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RMCollectionUtils.Difference c : RMCollectionUtils.Difference.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RMCollectionUtils.Difference valueOf(String name)
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
-
-