add comment

This commit is contained in:
parrt 2017-01-29 12:51:31 -08:00
parent 508d2f988f
commit 3c924384eb
1 changed files with 1 additions and 0 deletions

View File

@ -132,6 +132,7 @@ public final class CodePointCharStream implements CharStream {
codePointBuffer.position(initialPosition + index);
}
/** Return the UTF-16 encoded string for the given interval */
@Override
public String getText(Interval interval) {
final int startIdx = initialPosition + Math.min(interval.a, size - 1);