All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xy.reflect.ui.info.AbstractInfoProxy Maven / Gradle / Ivy

package xy.reflect.ui.info;

public abstract class AbstractInfoProxy extends AbstractInfo {

	@Override
	public int hashCode() {
		return ((getName() == null) ? 0 : getName().hashCode());
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		AbstractInfoProxy other = (AbstractInfoProxy) obj;
		if (getName() == null) {
			if (other.getName() != null)
				return false;
		} else if (!getName().equals(other.getName()))
			return false;
		return true;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy