Android Open Source - res-check Info Category

From Project

Back to project page res-check.


The source code is released under:

Apache License

If you think the Android project res-check listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.harrikirik.rescheck.dto;
// w  w w. j  av a 2s  . com
import android.text.TextUtils;

 * Category of an InfoItem
 * Harri Kirik,
public class InfoCategory extends BaseInfoObject {
    private static final long serialVersionUID = -9173790106163356722L;
    private String name;

    public InfoCategory(String name) { = name;

    public String getName() {
        return name;

    public String toPrintableString() {
        return getName();

    public boolean equals(Object o) {
        if (o == null) {
            return false;
        } else if (o instanceof InfoCategory) {
            return TextUtils.equals(getName(), ((InfoCategory) o).getName());
        return super.equals(o);

    public String toString() {
        return super.toString() + " with name: " + getName();

Java Source Code List