public static <E> Bucket<E> newBucket(int size, PartitioningStrategy<E> strategy, Supplier<Set<E>> setSupplier) {
        return new SetSuppliedBucket<>(size, strategy, setSupplier);
    }
A set of methods for creating {@link Bucket}s.
helper/src/main/java/me/lucko/helper/bucket/factory/BucketFactory.java