Enum Class IMultiLookup.ChangeGranularity

java.lang.Object
java.lang.Enum<IMultiLookup.ChangeGranularity>
tools.refinery.interpreter.matchers.util.IMultiLookup.ChangeGranularity
All Implemented Interfaces:
Serializable, Comparable<IMultiLookup.ChangeGranularity>, Constable
Enclosing interface:
IMultiLookup<Key,Value>

public static enum IMultiLookup.ChangeGranularity extends Enum<IMultiLookup.ChangeGranularity>
How significant was the change? *
  • Enum Constant Details

    • KEY

      public static final IMultiLookup.ChangeGranularity KEY
      First key-value pair with given key inserted, or last pair with given key deleted. (In case of delta maps, also if last negative key-value pair with given key neutralized.)
    • VALUE

      public static final IMultiLookup.ChangeGranularity VALUE
      First occurrence of given key-value pair inserted, or last occurrence of the pair deleted, while key still has values associated. (In case of delta maps, also if last negative occurrence of key-value pair neutralized.)
    • DUPLICATE

      public static final IMultiLookup.ChangeGranularity DUPLICATE
      Duplicate key-value pair inserted or deleted.
  • Method Details

    • values

      public static IMultiLookup.ChangeGranularity[] 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

      public static IMultiLookup.ChangeGranularity valueOf(String name)
      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 name
      NullPointerException - if the argument is null