tech.ytsaurus.ysontree.YTreeEntityNodeImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yson-tree Show documentation
Show all versions of yson-tree Show documentation
YTsaurus yson tree library
The newest version!
package tech.ytsaurus.ysontree;
import java.util.Map;
import javax.annotation.Nullable;
public class YTreeEntityNodeImpl extends YTreeNodeImpl implements YTreeEntityNode {
public YTreeEntityNodeImpl(@Nullable Map attributes) {
super(attributes);
}
@Override
public int hashCode() {
return hashCodeBase();
}
@Override
public boolean equals(Object another) {
if (this == another) {
return true;
}
if (another == null || !(another instanceof YTreeEntityNode)) {
return false;
}
return equalsBase((YTreeEntityNode) another);
}
}