Class S2PointIndex.Entry<Data>

java.lang.Object
com.google.common.geometry.S2PointIndex.Entry<Data>
All Implemented Interfaces:
S2Iterator.Entry, Comparable<S2PointIndex.Entry<Data>>
Enclosing class:
S2PointIndex<Data>

public static class S2PointIndex.Entry<Data> extends Object implements S2Iterator.Entry, Comparable<S2PointIndex.Entry<Data>>
An S2Iterator-compatible pair of S2Point with associated client data of a given type.

Equality and hashing are based on the point and data value. The natural order of this type is by the leaf cell that contains the point, which is not consistent with equals.