org.securegraph.query.GeohashResult Maven / Gradle / Ivy
The newest version!
package org.securegraph.query;
public class GeohashResult {
private final Iterable buckets;
public GeohashResult(Iterable buckets) {
this.buckets = buckets;
}
public Iterable getBuckets() {
return buckets;
}
public long getMaxCount() {
long max = Long.MIN_VALUE;
for (GeohashBucket b : getBuckets()) {
max = Math.max(max, b.getCount());
}
return max;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy