package com.qianwen.core.excel.extend.head;
|
|
import java.util.List;
|
import java.util.Set;
|
|
/* loaded from: blade-starter-excel-9.3.0.0-SNAPSHOT.jar:org/springblade/core/excel/extend/head/HeadMeta.class */
|
public class HeadMeta {
|
private List<List<String>> head;
|
private Set<String> ignoreHeadFields;
|
|
public void setHead(final List<List<String>> head) {
|
this.head = head;
|
}
|
|
public void setIgnoreHeadFields(final Set<String> ignoreHeadFields) {
|
this.ignoreHeadFields = ignoreHeadFields;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof HeadMeta) {
|
HeadMeta other = (HeadMeta) o;
|
if (other.canEqual(this)) {
|
Object this$head = getHead();
|
Object other$head = other.getHead();
|
if (this$head == null) {
|
if (other$head != null) {
|
return false;
|
}
|
} else if (!this$head.equals(other$head)) {
|
return false;
|
}
|
Object this$ignoreHeadFields = getIgnoreHeadFields();
|
Object other$ignoreHeadFields = other.getIgnoreHeadFields();
|
return this$ignoreHeadFields == null ? other$ignoreHeadFields == null : this$ignoreHeadFields.equals(other$ignoreHeadFields);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof HeadMeta;
|
}
|
|
public int hashCode() {
|
Object $head = getHead();
|
int result = (1 * 59) + ($head == null ? 43 : $head.hashCode());
|
Object $ignoreHeadFields = getIgnoreHeadFields();
|
return (result * 59) + ($ignoreHeadFields == null ? 43 : $ignoreHeadFields.hashCode());
|
}
|
|
public String toString() {
|
return "HeadMeta(head=" + getHead() + ", ignoreHeadFields=" + getIgnoreHeadFields() + ")";
|
}
|
|
public List<List<String>> getHead() {
|
return this.head;
|
}
|
|
public Set<String> getIgnoreHeadFields() {
|
return this.ignoreHeadFields;
|
}
|
}
|