<commit_before>package studio.archangel.toolkit3.models;

import android.graphics.drawable.Drawable;

/**
 * Created by xumingke on 2017/3/14.
 */

public class MenuDialogItem {
	public int id;
	public String text;
	public int icon_res;
	public Drawable icon_drawable;
	public int icon_size_px;
	public Object tag;

	public MenuDialogItem() {
	}

	public MenuDialogItem(int id, String text) {
		this(id, text, 0, 0);
	}

	public MenuDialogItem(int id, String text, int icon_res, int icon_size_px) {
		this.id = id;
		this.text = text;
		this.icon_res = icon_res;
		this.icon_size_px = icon_size_px;
	}
}<commit_msg>封装业务菜单弹窗<commit_after>package studio.archangel.toolkit3.models;

import android.graphics.drawable.Drawable;
import android.view.View;

import java.util.Objects;

/**
 * Created by xumingke on 2017/3/14.
 */

public class MenuDialogItem {
	public int id;
	public String text;
	public int icon_res;
	public Drawable icon_drawable;
	public int icon_size_px;
	public Object tag;

	public View.OnClickListener listener;

	public MenuDialogItem() {
	}

	public MenuDialogItem(int id, String text) {
		this(id, text, 0, 0);
	}

	public MenuDialogItem(int id, String text, int icon_res, int icon_size_px) {
		this.id = id;
		this.text = text;
		this.icon_res = icon_res;
		this.icon_size_px = icon_size_px;
	}

	@Override
	public boolean equals(Object o) {
		if (this == o) return true;
		if (o == null || getClass() != o.getClass()) return false;
		MenuDialogItem that = (MenuDialogItem) o;
		return id == that.id &&
				icon_res == that.icon_res &&
				Objects.equals(text, that.text) &&
				Objects.equals(tag, that.tag);
	}

	@Override
	public int hashCode() {
		return Objects.hash(id, text, icon_res, tag);
	}
}
{'fraction_non_alphanumeric': 0.11310904872389792, 'fraction_numerical': 0.01160092807424594, 'mean_word_length': 4.058651026392962, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3876702', 'n_tokens_mistral': 661, 'n_tokens_neox': 617, 'n_words': 162}