added in API level 1

ResolveInfo.DisplayNameComparator

public static class ResolveInfo.DisplayNameComparator
extends Object implements Comparator<ResolveInfo>

java.lang.Object
   ↳ android.content.pm.ResolveInfo.DisplayNameComparator


Summary

Public constructors

ResolveInfo.DisplayNameComparator(PackageManager pm)

Public methods

final int compare(ResolveInfo a, ResolveInfo b)

Inherited methods

Public constructors

ResolveInfo.DisplayNameComparator

added in API level 1
public ResolveInfo.DisplayNameComparator (PackageManager pm)

Parameters
pm PackageManager

Public methods

compare

added in API level 1
public final int compare (ResolveInfo a, 
                ResolveInfo b)

Parameters
a ResolveInfo

b ResolveInfo

Returns
int