Road

class Road(val name: TextWithPhonetics?, val numbers: List<TextWithPhonetics>, val shields: List<RoadShield>, val types: Set<RoadType> = emptySet())

Road information at a given point on a Route.

Constructors

Link copied to clipboard
constructor(name: TextWithPhonetics?, numbers: List<TextWithPhonetics>, shields: List<RoadShield>, types: Set<RoadType> = emptySet())

Properties

Link copied to clipboard

Name of the road.

Link copied to clipboard

Road numbers.

Link copied to clipboard

Road shields.

Link copied to clipboard

Road types.

Functions

Link copied to clipboard
operator fun component1(): TextWithPhonetics?
Link copied to clipboard
Link copied to clipboard
operator fun component3(): List<RoadShield>
Link copied to clipboard
operator fun component4(): Set<RoadType>
Link copied to clipboard
fun copy(name: TextWithPhonetics? = this.name, numbers: List<TextWithPhonetics> = this.numbers, shields: List<RoadShield> = this.shields, types: Set<RoadType> = this.types): Road
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String