Class PairWithLayer

java.lang.Object
slash.navigation.mapview.mapsforge.updater.PairWithLayer
All Implemented Interfaces:
ObjectWithLayer

public class PairWithLayer extends Object implements ObjectWithLayer
A pair of NavigationPositions with a Layer, a distance and a time.
Author:
Christian Pesch
  • Constructor Details

  • Method Details

    • getFirst

      public NavigationPosition getFirst()
    • getSecond

      public NavigationPosition getSecond()
    • getRow

      public int getRow()
    • setRow

      public void setRow(int row)
    • hasCoordinates

      public boolean hasCoordinates()
    • isSegmentBreak

      public boolean isSegmentBreak()
    • getLayer

      public org.mapsforge.map.layer.Layer getLayer()
      Specified by:
      getLayer in interface ObjectWithLayer
    • setLayer

      public void setLayer(org.mapsforge.map.layer.Layer layer)
      Specified by:
      setLayer in interface ObjectWithLayer
    • getDistanceAndTime

      public DistanceAndTime getDistanceAndTime()
    • setDistanceAndTime

      public void setDistanceAndTime(DistanceAndTime distanceAndTime)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object