MCPcopy Create free account
hub / github.com/google/re2j / reset

Method reset

java/com/google/re2j/Pattern.java:79–81  ·  view source on GitHub ↗

Releases memory used by internal caches associated with this pattern. Does not change the observable behaviour. Useful for tests that detect memory leaks via allocation tracking.

()

Source from the content-addressed store, hash-verified

77 * observable behaviour. Useful for tests that detect memory leaks via allocation tracking.
78 */
79 public void reset() {
80 re2.reset();
81 }
82
83 /**
84 * Returns the flags used in the constructor.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected