MCPcopy Create free account
hub / github.com/SWI-Prolog/packages-jpl / reset

Method reset

src/main/java/org/jpl7/Query.java:416–419  ·  view source on GitHub ↗

Reset the query to its start: closed and no solution found so far. This will allow a query to re-start

()

Source from the content-addressed store, hash-verified

414 *
415 */
416 public final void reset() {
417 close();
418 hasNextSolution = null;
419 }
420
421 /**
422 * Tell Prolog engine to fetch the next solution for the current active query (like hitting ;)

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected