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