MCPcopy Create free account
hub / github.com/Aghajari/MathParser / reset

Method reset

MathParser/src/com/aghajari/math/MathParser.java:860–867  ·  view source on GitHub ↗

Resets temp variables @param deep True to clear all imported functions and variables, False otherwise

(boolean deep)

Source from the content-addressed store, hash-verified

858 * @param deep True to clear all imported functions and variables, False otherwise
859 */
860 public void reset(boolean deep) {
861 if (deep) {
862 variables.clear();
863 functions.clear();
864 }
865 innerVariables.clear();
866 tmpGenerator.set(0);
867 }
868
869 /**
870 * @see #operations

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected