compare3<T> function

Comparator<T> compare3<T>(
  1. Comparator<T> c1,
  2. Comparator<T> c2,
  3. Comparator<T> c3
)

Implementation

Comparator<T> compare3<T>(
  Comparator<T> c1,
  Comparator<T> c2,
  Comparator<T> c3,
) =>
    c1.thenCompare(c2).thenCompare(c3);