Android APIs
public static class

PackageItemInfo.DisplayNameComparator

extends Object
implements Comparator<PackageItemInfo>
java.lang.Object
   ↳ android.content.pm.PackageItemInfo.DisplayNameComparator

Summary

Public Constructors
PackageItemInfo.DisplayNameComparator(PackageManager pm)
Public Methods
final int compare(PackageItemInfo aa, PackageItemInfo ab)
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.util.Comparator

Public Constructors

public PackageItemInfo.DisplayNameComparator (PackageManager pm)

Added in API level 1

Parameters
pm PackageManager

Public Methods

public final int compare (PackageItemInfo aa, PackageItemInfo ab)

Added in API level 1

Parameters
aa PackageItemInfo
ab PackageItemInfo
Returns
int