Added in API level 1

PackageItemInfo.DisplayNameComparator


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

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


Summary

Public constructors

DisplayNameComparator(PackageManager pm)

Public methods

final int compare(PackageItemInfo aa, PackageItemInfo ab)

Inherited methods

Public constructors

DisplayNameComparator

Added in API level 1
public DisplayNameComparator (PackageManager pm)

Parameters
pm PackageManager

Public methods

compare

Added in API level 1
public final int compare (PackageItemInfo aa, 
                PackageItemInfo ab)

Parameters
aa PackageItemInfo

ab PackageItemInfo

Returns
int