Add missing javadocs.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572098 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrien Grand 2014-02-26 15:38:53 +00:00
parent a80206c285
commit e4d5f4837f
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ public class JaspellTernarySearchTrie {
relatives[PARENT] = parent;
}
/** Return an approximate memory usage for this node and its sub-nodes. */
public long sizeInBytes() {
long mem = RamUsageEstimator.shallowSizeOf(this) + RamUsageEstimator.shallowSizeOf(relatives);
for (TSTNode node : relatives) {