Компонент адреса: улица, номер дома или словесное описание местоположения.
AddressComponent(streetAddress: AddressStreet)
streetAddress
AddressStreet
AddressComponent(number: AddressNumber)
number
AddressNumber
AddressComponent(location: AddressLocation)
location
AddressLocation
fun match( streetAddress: Function1, number: Function1, location: Function1 ): T
(AddressStreet) -> T
(AddressNumber) -> T
(AddressLocation) -> T
T
fun toString(): String
String
fun hashCode(): Int
Int
fun equals(other: Any?): Boolean
other
Any?
Boolean
val isStreetAddress
val asStreetAddress
AddressStreet?
val isNumber
val asNumber
AddressNumber?
val isLocation
val asLocation
AddressLocation?
val value