FileDocCategorySizeDatePackage
PackageCleanItem.javaAPI DocAndroid 5.1 API2532Thu Mar 12 22:22:10 GMT 2015android.content.pm

PackageCleanItem

public class PackageCleanItem extends Object
hide

Fields Summary
public final int
userId
public final String
packageName
public final boolean
andCode
public static final Parcelable.Creator
CREATOR
Constructors Summary
public PackageCleanItem(int userId, String packageName, boolean andCode)

        this.userId = userId;
        this.packageName = packageName;
        this.andCode = andCode;
    
private PackageCleanItem(android.os.Parcel source)


       
        userId = source.readInt();
        packageName = source.readString();
        andCode = source.readInt() != 0;
    
Methods Summary
public intdescribeContents()

        return 0;
    
public booleanequals(java.lang.Object obj)

        if (this == obj) {
            return true;
        }
        try {
            if (obj != null) {
                PackageCleanItem other = (PackageCleanItem)obj;
                return userId == other.userId && packageName.equals(other.packageName)
                        && andCode == other.andCode;
            }
        } catch (ClassCastException e) {
        }
        return false;
    
public inthashCode()

        int result = 17;
        result = 31 * result + userId;
        result = 31 * result + packageName.hashCode();
        result = 31 * result + (andCode ? 1 : 0);
        return result;
    
public voidwriteToParcel(android.os.Parcel dest, int parcelableFlags)

        dest.writeInt(userId);
        dest.writeString(packageName);
        dest.writeInt(andCode ? 1 : 0);