package Ġorg . send oh . dao Ċ Ċ import Ġorg . send oh . model . Car Inventory Ċ import Ġorg . send oh . model . Location Ċ import Ġjava . math . BigDecimal Ċ Ċ class ĠIn Memory Car Inventory Dao Ġ: ĠCar Inventory Dao Ġ{ ĊĠĠĠ Ġprivate Ġval Ġstorage : ĠMap < String , ĠCar Inventory > ĊĊĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġcar For Rent A 1 Ġ= ĠCar Inventory (" A 1 ", ĠLocation ( 0 . 0 0 0 0 0 0 , Ġ 0 . 0 0 0 0 0 0 ), ĠBigDecimal . TEN ) ĊĠĠĠĠĠĠĠ Ġval Ġcar For Rent B 2 Ġ= ĠCar Inventory (" B 2 ", ĠLocation ( 0 . 0 0 0 0 0 0 , Ġ 0 . 0 0 0 0 0 1 ), ĠBigDecimal . ONE ) ĊĠĠĠĠĠĠĠ Ġval Ġcar For Rent C 3 Ġ= ĠCar Inventory (" C 3 ", ĠLocation ( 0 . 0 0 0 0 0 0 , Ġ 0 . 0 0 0 0 0 3 ), ĠBigDecimal . TEN ) ĊĠĠĠĠĠĠĠ Ġval Ġcar For Rent D 4 Ġ= ĠCar Inventory (" D 4 ", ĠLocation ( 6 0 . 9 3 0 4 3 2 , Ġ 1 1 6 . 0 1 5 6 2 5 ), ĠBigDecimal . ZERO ) ĊĊĠĠĠĠĠĠĠ Ġstorage Ġ= Ġhash Map Of ( Pair ( car For Rent A 1 . license No , Ġcar For Rent A 1 ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠPair ( car For Rent B 2 . license No , Ġcar For Rent B 2 ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠPair ( car For Rent C 3 . license No , Ġcar For Rent C 3 ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠPair ( car For Rent D 4 . license No , Ġcar For Rent D 4 )) ĊĠĠĠ Ġ} ĊĠĠĠ Ġoverride Ġfun ĠgetAll (): ĠCollection < Car Inventory > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġstorage . values ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget ( license No : ĠString ): ĠCar Inventory ? Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġstorage [ license No ] ĊĠĠĠ Ġ} Ċ } Ċ