spring-framework / org.springframework.util.comparator / CompoundComparator / invertOrder

invertOrder

open fun invertOrder(): Unit

Invert the sort order of each sort definition contained by this compound comparator.

open fun invertOrder(index: Int): Unit

Invert the sort order of the sort definition at the specified index.

Parameters

index - the index of the comparator to invert