The address component: street, house number, or verbal description of location.
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