Enum CollectionAction

    • Enum Constant Detail

      • INSERT

        public static final CollectionAction INSERT
        Specifies that an element was added to the collection.
      • REMOVE

        public static final CollectionAction REMOVE
        Specifies that an element was removed from the collection.
      • REPLACE

        public static final CollectionAction REPLACE
        Specifies that an element was replaced in the collection.
      • CLEAR

        public static final CollectionAction CLEAR
        Specifies that the entire collection has been cleared.
    • Method Detail

      • values

        public static CollectionAction[] 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 (CollectionAction c : CollectionAction.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CollectionAction 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 name
        NullPointerException - if the argument is null