@Override
    public int hashCode() {
        return name.hashCode();
    }
Returns an instance of the class corresponding to the given type, AndItem
if this is the DEFAULT type

@throws RuntimeException if an instance could not be created
container-search/src/main/java/com/yahoo/prelude/query/TermType.java