Package ru.bitel.bgbilling.kernel.map.bean

# Class MapTrack

java.lang.Object
ru.bitel.bgbilling.kernel.map.bean.MapTrack

All Implemented Interfaces:
  `Iterable<MapMarker>`

public class MapTrack extends Object implements Iterable<MapMarker>
Трек на карте с промежуточными точками

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MapTrack()`
  `MapTrack(List<MapMarker> points)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addPoint(int position, MapMarker point)`
  `void`
  `addPoint(MapMarker point)`
  `MapMarker`
  `getFirstPoint()`
  `MapMarker`
  `getLastPoint()`
  `List<MapMarker>`
  `getPoints()`
  `Iterator<MapMarker>`
  `iterator()`
  `void`
  `removeLastPoint()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface java.lang.Iterable

  `forEach, spliterator`

- ## Constructor Details

  - ### MapTrack

    public MapTrack()

  - ### MapTrack

    public MapTrack(List<MapMarker> points)

- ## Method Details

  - ### removeLastPoint

    public void removeLastPoint()

  - ### addPoint

    public void addPoint(MapMarker point)

  - ### addPoint

    public void addPoint(int position, MapMarker point)

  - ### getPoints

    public List<MapMarker> getPoints()

  - ### getFirstPoint

    public MapMarker getFirstPoint()

  - ### getLastPoint

    public MapMarker getLastPoint()

  - ### iterator

    public Iterator<MapMarker> iterator()
    Specified by:
      `iterator` in interface `Iterable<MapMarker>`