From e4d5f4837f4122de6b2521872dea5e0ca80e9b5a Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Wed, 26 Feb 2014 15:38:53 +0000 Subject: [PATCH] Add missing javadocs. git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572098 13f79535-47bb-0310-9956-ffa450edef68 --- .../lucene/search/suggest/jaspell/JaspellTernarySearchTrie.java | 1 + 1 file changed, 1 insertion(+) diff --git a/lucene/suggest/src/java/org/apache/lucene/search/suggest/jaspell/JaspellTernarySearchTrie.java b/lucene/suggest/src/java/org/apache/lucene/search/suggest/jaspell/JaspellTernarySearchTrie.java index 44d9412f32a..474f5dac1c5 100644 --- a/lucene/suggest/src/java/org/apache/lucene/search/suggest/jaspell/JaspellTernarySearchTrie.java +++ b/lucene/suggest/src/java/org/apache/lucene/search/suggest/jaspell/JaspellTernarySearchTrie.java @@ -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) {