public static class PiEstimation.Sampler extends Object implements MapFunction<Long,Long>
Constructor and Description |
---|
Sampler() |
public Long map(Long value)
MapFunction
map
in interface MapFunction<Long,Long>
value
- The input value.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.