Class CategorizedElementDefinitionHelper

    • Method Detail

      • compareWrapperPositions

        public static <T extends CategorizedElementDefinitionWrapper> int compareWrapperPositions​(T wrapper1,
                                                                                                  T wrapper2)
        Compares the two given wrappers' position. Returns a negative integer, zero, or a positive integer as the position of the first wrapper is less than, equal to, or greater than the second.
        Type Parameters:
        T - type of the wrappers to compare
        Parameters:
        wrapper1 - the first wrapper
        wrapper2 - the second wrapper
        Returns:
        a negative integer, zero, or a positive integer as the position of the first wrapper is less than, equal to, or greater than the second.