package com.fr.design.gui.ilist;

import com.fr.general.ComparatorUtils;
import com.fr.stable.Nameable;

/**
* Created by IntelliJ IDEA.
* Author : Richer
* Version: 7.0.3
* Date: 13-1-2
* Time: 下午2:39
*/
public class ListModelElement {
	public Nameable wrapper;

	public ListModelElement(Nameable nameable) {
		this.wrapper = nameable;
	}

	public boolean equals(Object o) {
		return o instanceof ListModelElement && ComparatorUtils.equals(((ListModelElement) o).wrapper, wrapper);
	}
}