Class Thread
com.yandex.mapkit.masstransit
java.lang.Object ⇽ Thread
public class Thread
Describes a public transport thread.
A thread is one of the Line variants. For example, one line can have two threads: direct and return.
Constructors
Methods
synchronized List< Stop > | getEssentialStops() | List of important stops on the thread, such as the first and last stops. |
synchronized String | getId() | Thread ID. |
String | getNativeName() | |
void | serialize(Archive archive) |
synchronized List< Stop > | getEssentialStops() | List of important stops on the thread, such as the first and last stops. |
synchronized String | getId() | Thread ID. |
String | getNativeName() | |
void | serialize(Archive archive) |
Constructor Detail
Thread
public Thread ()
Use constructor with parameters in your code.
This one is for serialization only!Thread
public Thread (String id, List< Stop > essentialStops)