Class S2ClosestPointQuery.Result<T>

  • All Implemented Interfaces:
    Comparable<com.google.common.geometry.S2ClosestPointQuery.ChordComparable>
    Enclosing class:
    S2ClosestPointQuery<T>

    public static class S2ClosestPointQuery.Result<T>
    extends Object
    A query result paired with the distance to the query target. Natural order is by distance in descending order.
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • compareTo

        public int compareTo​(com.google.common.geometry.S2ClosestPointQuery.ChordComparable other)