# PinyinComparator

public class PinyinComparator implements Comparator<T>

## Constructors

MentionMemberSelectActivity.PinyinComparator
Link copied to clipboard
public void MentionMemberSelectActivity.PinyinComparator()

## Properties

instance
Link copied to clipboard
public static MentionMemberSelectActivity.PinyinComparator instance

## Functions

compare
Link copied to clipboard
public int compare(MentionMemberSelectActivity.MemberInfo o1, MentionMemberSelectActivity.MemberInfo o2)
getInstance
Link copied to clipboard
public static MentionMemberSelectActivity.PinyinComparator getInstance()

## Inherited functions

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