private Host getFirstHost() {
        return hosts.asCollection().iterator().next();
    }
Called when provisioning nodes using &lt;nodes count="..."
config-model/src/main/java/com/yahoo/config/model/provision/HostsXmlProvisioner.java