Class DistanceMatrix

java.lang.Object
ai.nextbillion.maps.model.DistanceMatrix
All Implemented Interfaces:
java.io.Serializable

public class DistanceMatrix
extends java.lang.Object
implements java.io.Serializable
A complete result from a Distance Matrix API call.
See Also:
Distance Matrix Results, Serialized Form
  • Field Summary

    Fields 
    Modifier and Type Field Description
    DistanceMatrixRow[] rows
    An array of elements, each of which in turn contains a status, duration, and distance element.
  • Constructor Summary

    Constructors 
    Constructor Description
    DistanceMatrix​(DistanceMatrixRow[] rows)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • rows

      public final DistanceMatrixRow[] rows
      An array of elements, each of which in turn contains a status, duration, and distance element.
  • Constructor Details

  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object