public final class Sketches extends Object
| Constructor and Description |
|---|
Sketches() |
| Modifier and Type | Method and Description |
|---|---|
static <S extends Summary> |
createEmptySketch() |
static <S extends Summary> |
heapifySketch(Memory mem)
Instantiate Sketch from a given Memory
|
static <U,S extends UpdatableSummary<U>> |
heapifyUpdatableSketch(Memory mem)
Instantiate UpdatableSketch from a given Memory
|
public static <S extends Summary> Sketch<S> createEmptySketch()
S - Type of Summarypublic static <S extends Summary> Sketch<S> heapifySketch(Memory mem)
S - Type of Summarymem - Memory object representing a Sketchpublic static <U,S extends UpdatableSummary<U>> UpdatableSketch<U,S> heapifyUpdatableSketch(Memory mem)
U - Type of update valueS - Type of Summarymem - Memory object representing a SketchCopyright © 2015–2017 Yahoo! Inc.. All rights reserved.