IT. Expert System.

Android Reference

PackageItemInfo.DisplayNameComparator


android.content.pm

Class PackageItemInfo.DisplayNameComparator

    • Constructor Detail

      • PackageItemInfo.DisplayNameComparator

        public PackageItemInfo.DisplayNameComparator(PackageManager pm)
    • Method Detail

      • compare

        public final int compare(PackageItemInfo aa,
                  PackageItemInfo ab)
        Description copied from interface: Comparator
        Compares the two specified objects to determine their relative ordering. The ordering implied by the return value of this method for all possible pairs of (lhs, rhs) should form an equivalence relation. This means that
        • compare(a,a) returns zero for all a
        • the sign of compare(a,b) must be the opposite of the sign of compare(b,a) for all pairs of (a,b)
        • From compare(a,b) > 0 and compare(b,c) > 0 it must follow compare(a,c) > 0 for all possible combinations of (a,b,c)
        Specified by:
        compare in interface Comparator<PackageItemInfo>
        Parameters:
        aa - an Object.
        ab - a second Object to compare with lhs.
        Returns:
        an integer < 0 if lhs is less than rhs, 0 if they are equal, and > 0 if lhs is greater than rhs.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 3103 / . Delta: 0.01744 с