added in API level 1

ApplicationInfo.DisplayNameComparator

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

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


Summary

Public constructors

ApplicationInfo.DisplayNameComparator(PackageManager pm)

Public methods

final int compare(ApplicationInfo aa, ApplicationInfo ab)

Inherited methods

Public constructors

ApplicationInfo.DisplayNameComparator

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

Parameters
pm PackageManager

Public methods

compare

added in API level 1
public final int compare (ApplicationInfo aa, 
                ApplicationInfo ab)

Parameters
aa ApplicationInfo

ab ApplicationInfo

Returns
int