add missing javadoc

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571928 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2014-02-26 06:13:26 +00:00
parent 2163160ad4
commit c36c4d7264
1 changed files with 2 additions and 1 deletions

View File

@ -93,7 +93,7 @@ public class CachedOrdinalsReader extends OrdinalsReader {
};
}
/** Holds the cached ordinals in two paralel {@code int[]} arrays. */
/** Holds the cached ordinals in two parallel {@code int[]} arrays. */
public static final class CachedOrds {
/** Index into {@link #ordinals} for each document. */
@ -137,6 +137,7 @@ public class CachedOrdinalsReader extends OrdinalsReader {
}
}
/** Returns number of bytes used by this cache entry */
public long ramBytesUsed() {
long mem = RamUsageEstimator.shallowSizeOf(this) + RamUsageEstimator.sizeOf(offsets);
if (offsets != ordinals) {