Use private inner class

This commit is contained in:
aherbert 2022-08-24 13:21:24 +01:00
parent 33489b9114
commit 7bf71f59b8
1 changed files with 6 additions and 2 deletions

View File

@ -116,11 +116,15 @@ public class HasherCollection implements Hasher {
/** /**
* IndexProducer that will return duplicates from the collection. * IndexProducer that will return duplicates from the collection.
*
*/ */
class HasherCollectionIndexProducer implements IndexProducer { private class HasherCollectionIndexProducer implements IndexProducer {
private final Shape shape; private final Shape shape;
/**
* Create an instance.
*
* @param shape The shape for the filter.
*/
HasherCollectionIndexProducer(Shape shape) { HasherCollectionIndexProducer(Shape shape) {
this.shape = shape; this.shape = shape;
} }