Class PassThroughWaypoint

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

  • public final class PassThroughWaypoint
    extends java.lang.Object

    This structure provides all the information for a passthrough waypoint. The location information and offset of the waypoint are stored in place and offset respectively.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Integer offset
      Index over Section.getGeometry() where the passthrough waypoint is located.
      RoutePlace place
      The location information of passthrough waypoint.
    • 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

      • place

        @NonNull
        public RoutePlace place

        The location information of passthrough waypoint.

      • offset

        @Nullable
        public java.lang.Integer offset

        Index over Section.getGeometry() where the passthrough waypoint is located.

    • Constructor Detail

      • PassThroughWaypoint

        public PassThroughWaypoint​(@NonNull
                                   RoutePlace place)

        Creates a new instance.

        Parameters:
        place -

        The location information of passthrough waypoint.

    • 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