public class BoundingBoxSampler extends Object
| Constructor and Description |
|---|
BoundingBoxSampler(TwoGeoHashBoundingBox bbox) |
BoundingBoxSampler(TwoGeoHashBoundingBox bbox,
long seed) |
| Modifier and Type | Method and Description |
|---|---|
TwoGeoHashBoundingBox |
getBoundingBox() |
GeoHash |
next() |
public BoundingBoxSampler(TwoGeoHashBoundingBox bbox)
bbox - IllegalArgumentException - if the number of geohashes contained in the bounding box
exceeds Integer.MAX_VALUEpublic BoundingBoxSampler(TwoGeoHashBoundingBox bbox, long seed)
public TwoGeoHashBoundingBox getBoundingBox()
public GeoHash next()
Copyright © 2016. All Rights Reserved.