public static < T > ReservoirItemsSketch < T > newInstance ( final int k , final ResizeFactor rf ) { return new ReservoirItemsSketch <> ( k , rf ) ; }
Construct a mergeable sampling sketch with up to k samples using a specified resize factor .