Class TransitWaypoint

  • java.lang.Object
    • com.here.sdk.routing.TransitWaypoint

  • public final class TransitWaypoint
    extends java.lang.Object

    Represents a transit waypoint, used as input for transit route calculation.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      GeoCoordinates coordinates
      The waypoint's geographic coordinates.
      java.lang.String placeName
      This parameter can be used to customize the name of the origin place and will affect the generated actions descriptions.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • coordinates

        @NonNull
        public GeoCoordinates coordinates

        The waypoint's geographic coordinates.

      • placeName

        @Nullable
        public java.lang.String placeName

        This parameter can be used to customize the name of the origin place and will affect the generated actions descriptions.

    • Constructor Detail

      • TransitWaypoint

        public TransitWaypoint​(@NonNull
                               GeoCoordinates coordinates)

        Creates a new instance.

        Parameters:
        coordinates -

        The waypoint's geographic coordinates.

    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object