Used to be used only by Utils.textToTerm but code has been integrated there already @return a substituion from variable names to terms
()
| 459 | * @return a substituion from variable names to terms |
| 460 | */ |
| 461 | @Deprecated |
| 462 | public final Map<String, Term> getSubstWithNameVars() { |
| 463 | // oughta check: thread has query's engine |
| 464 | if (!open) { |
| 465 | throw new JPLException("Query is not open"); |
| 466 | } else if (fetchNextSolution()) { |
| 467 | return getSolutionWithVarNames(); |
| 468 | } else { |
| 469 | return null; |
| 470 | } |
| 471 | } |
| 472 | |
| 473 | /** |
| 474 | * This method returns a java.util.Map, which represents a binding from the |
nothing calls this directly
no test coverage detected