LoyaltyDataConfigComparator

public class LoyaltyDataConfigComparator implements Comparator<T>

Defines the comparison between LoyaltyDataConfig objects. Useful in TreeMap implementations, and other Collections.

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
public static Comparator<T> comparing<T, U>(Function<? super T, ? extends U> keyExtractor, Comparator<? super U> keyComparator)
Link copied to clipboard
public static Comparator<T> comparingDouble<T>(ToDoubleFunction<? super T> keyExtractor)
Link copied to clipboard
public static Comparator<T> comparingInt<T>(ToIntFunction<? super T> keyExtractor)
Link copied to clipboard
public static Comparator<T> comparingLong<T>(ToLongFunction<? super T> keyExtractor)
Link copied to clipboard
public boolean equals(Object obj)
Link copied to clipboard
public static Comparator<T> naturalOrder<T extends Comparable<? super T>>()
Link copied to clipboard
public static Comparator<T> nullsFirst<T>(Comparator<? super T> comparator)
Link copied to clipboard
public static Comparator<T> nullsLast<T>(Comparator<? super T> comparator)
Link copied to clipboard
public Comparator<T> reversed()
Link copied to clipboard
public static Comparator<T> reverseOrder<T extends Comparable<? super T>>()
Link copied to clipboard
public Comparator<T> thenComparing(Comparator<? super T> other)
Link copied to clipboard
public Comparator<T> thenComparingDouble(ToDoubleFunction<? super T> keyExtractor)
Link copied to clipboard
public Comparator<T> thenComparingInt(ToIntFunction<? super T> keyExtractor)
Link copied to clipboard
public Comparator<T> thenComparingLong(ToLongFunction<? super T> keyExtractor)