@Override
    public String toString() {
        return super.toString() + " of type " + dataType.getName();
    }
Two fields are equal if they have the same name and the same data type
document/src/main/java/com/yahoo/document/Field.java