ausgeo-core
ausgeo-core
au.id.tmm.ausgeo
Address
LatLong
Postcode
Postcode
CreationError
CreationError
InvalidLength
NotNumeric
State
State
ACT
NSW
NT
ParsedFromAbbreviationException
ParsedFromNameException
QLD
SA
StateProper
TAS
Territory
VIC
WA
ausgeo-core
/
au.id.tmm.ausgeo
/
State
State
object
State
Companion:
class
Graph
Supertypes
Self type
trait
Sum
trait
Mirror
class
Object
trait
Matchable
class
Any
State
.type
Type members
Value members
Implicits
Type members
Classlikes
case
object
ACT
extends
Territory
case
object
NSW
extends
StateProper
case
object
NT
extends
Territory
final case
class
ParsedFromAbbreviationException
(
badAbbreviation:
String
)
extends
Exception
final case
class
ParsedFromNameException
(
badName:
String
)
extends
Exception
case
object
QLD
extends
StateProper
case
object
SA
extends
StateProper
sealed
trait
StateProper
extends
State
case
object
TAS
extends
StateProper
sealed
trait
Territory
extends
State
case
object
VIC
extends
StateProper
case
object
WA
extends
StateProper
Inherited types
type
MirroredElemLabels
<:
Tuple
The names of the product elements
The names of the product elements
Inherited from:
Mirror
type
MirroredLabel
<:
String
The name of the type
The name of the type
Inherited from:
Mirror
Value members
Concrete methods
def
fromAbbreviation
(
abbreviation:
String
):
Option
[
State
]
def
fromAbbreviationOrError
(
abbreviation:
String
):
Either
[
ParsedFromAbbreviationException
,
State
]
def
fromName
(
name:
String
):
Option
[
State
]
def
fromNameOrError
(
name:
String
):
Either
[
ParsedFromNameException
,
State
]
def
ordinalBySize
(
state:
State
):
Int
Concrete fields
val
allStates
:
Set
[
State
]
Implicits
Implicits
implicit
val
orderBySize
:
Ordering
[
State
]