Interface AtomicType<T>

    • Method Detail

      • createComparator

        TypeComparator<T> createComparator​(boolean sortOrderAscending,
                                           ExecutionConfig executionConfig)
        Creates a comparator for this type.
        Parameters:
        sortOrderAscending - True, if the comparator should define the order to be ascending, false, if the comparator should define the order to be descending.
        executionConfig - The config from which the comparator will be parametrized. Parametrization includes for example registration of class tags for frameworks like Kryo.
        Returns:
        A comparator for this type.