mirror of https://github.com/apache/lucene.git
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:
parent
a80206c285
commit
e4d5f4837f
|
@ -94,6 +94,7 @@ public class JaspellTernarySearchTrie {
|
||||||
relatives[PARENT] = parent;
|
relatives[PARENT] = parent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Return an approximate memory usage for this node and its sub-nodes. */
|
||||||
public long sizeInBytes() {
|
public long sizeInBytes() {
|
||||||
long mem = RamUsageEstimator.shallowSizeOf(this) + RamUsageEstimator.shallowSizeOf(relatives);
|
long mem = RamUsageEstimator.shallowSizeOf(this) + RamUsageEstimator.shallowSizeOf(relatives);
|
||||||
for (TSTNode node : relatives) {
|
for (TSTNode node : relatives) {
|
||||||
|
|
Loading…
Reference in New Issue