uschindler commented on code in PR #12841: URL: https://github.com/apache/lucene/pull/12841#discussion_r1420373977
########## lucene/core/src/java/org/apache/lucene/util/GroupVIntUtil.java: ########## @@ -62,4 +62,42 @@ private static long readLongInGroup(DataInput in, int numBytesMinus1) throws IOE return in.readInt() & 0xFFFFFFFFL; } } + + /** + * Provides an abstraction for read int values, so that decoding logic can be reused in different DataInput. + * + */ + public static interface IntReader { Review Comment: add `@FunctionalInterface` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org