package Ġorg . free kode . crypt obot . prices ervice . infrastructure Ċ Ċ import Ġorg . free kode . crypt obot . prices ervice . domain . price . Price Repository Ċ import Ġorg . free kode . crypt obot . prices ervice . domain . price . Platform Price Event Ċ import Ġorg . springframework . stereotype . Service Ċ import Ġjava . time . LocalDateTime Ċ Ċ @ Service Ċ class ĠIn Memory Price Repository Ġ: ĠPrice Repository Ġ{ ĊĠĠĠ Ġprivate Ġval Ġstorage : ĠMutable Map < Long , ĠPlatform Price Event > Ġ= ĠHashMap () ĊĊĠĠĠ Ġoverride Ġfun Ġadd Price ( platform Price Event : ĠPlatform Price Event ) Ġ{ ĊĠĠĠĠĠĠĠ Ġstorage [ platform Price Event . timestamp ] Ġ= Ġplatform Price Event ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Prices ( startDate : ĠLocalDateTime , ĠendDate : ĠLocalDateTime ): ĠList < Platform Price Event > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠArrayList () ĊĠĠĠ Ġ} Ċ } Ċ