Query.hasNext 方法
定义
Getter for hasNext.
It will returntrue
</code> if the query is not finished in the Device Provisioning Service, and another iteration with <xref uid="com.microsoft.azure.sdk.iot.provisioning.service.Query.next()" data-throw-if-not-resolved="false" data-raw-source="next()"></xref> may return more items. Call <xref uid="com.microsoft.azure.sdk.iot.provisioning.service.Query.next()" data-throw-if-not-resolved="false" data-raw-source="next()"></xref> after receive a<code>hasNext
</code><code>true
</code> will result in a <xref uid="" data-throw-if-not-resolved="false" data-raw-source="QueryResult"></xref> that can or cannot contains elements. And call <xref uid="com.microsoft.azure.sdk.iot.provisioning.service.Query.next()" data-throw-if-not-resolved="false" data-raw-source="next()"></xref> after receive a<code>hasNext
</code><code>false
</code> will result in a exception.</p>
public boolean hasNext()
返回
Theboolean
</code><code>true
</code> if query is not finalize in the Service. </p>