Class IndexTableModel

    • Constructor Detail

      • IndexTableModel

        public IndexTableModel()
    • Method Detail

      • compare

        public int compare​(AbstractIndexDescriptor index1,
                           AbstractIndexDescriptor index2)
        Comparable implementation.
        Parameters:
        index1 - the first index descriptor to compare.
        index2 - the second index descriptor to compare.
        Returns:
        1 if according to the sorting options set by the user the first index descriptor must be put before the second descriptor, 0 if they are equivalent in terms of sorting and -1 if the second descriptor must be put before the first descriptor.