Road

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

Road information relating to a GuidanceInstruction.

Constructors

Link copied to clipboard
constructor(name: String, numbers: List<String>, 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(): String
Link copied to clipboard
operator fun component2(): List<String>
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: String = this.name, numbers: List<String> = 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