Class AMTools


  • public final class AMTools
    extends Object
    Utility functions concerning the activity model.
    Author:
    Patrick Schmidt
    • Method Detail

      • areEqual

        public static boolean areEqual​(StorageOperation op1,
                                       StorageOperation op2)
        Compares two StorageOperations for functional equality, i.e. ignoring their state and revision.
        Parameters:
        op1 -
        op2 -
        Returns:
        whether the two operations are functionally equal
      • areEqual

        public static boolean areEqual​(StorageConfigurationSet cs1,
                                       StorageConfigurationSet cs2)
        Compares two StorageConfigurationSets for functional equality, i.e. ignoring their state and revision.
        Parameters:
        cs1 -
        cs2 -
        Returns:
        whether the two configuration sets are functionally equal
      • areEqual

        public static boolean areEqual​(Identifier id1,
                                       Identifier id2)
        Compares two Identifiers for functional equality, i.e. ignoring their state and revision.
        Parameters:
        id1 -
        id2 -
        Returns:
        whether the two Identifiers are functionally equal