Insert/delete operations on a Trie structure leaves the old nodes in cache, this method scans the cache and removes them. The method is not thread safe, the tree should not be modified during the cleaning process.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.