package Ġcom . d agger . core utils Ċ Ċ interface ĠD agger Component Ċ Ċ object ĠComponent Manager Ġ{ ĊĠĠĠ Ġprivate Ġval Ġcomponents Ġ= Ġmutable Map Of < String , ĠD agger Component >() ĊĊĠĠĠ Ġfun Ġget Or Put Component ( component Name : ĠString , Ġcomponent Builder : Ġ() Ġ-> ĠD agger Component ) Ġ= ĊĠĠĠĠĠĠĠ Ġcomponents . get Or Put ( component Name , Ġcomponent Builder ) ĊĊĠĠĠ Ġfun Ġclear Component ( component Name : ĠString ) Ġ{ ĊĠĠĠĠĠĠĠ Ġcomponents . remove ( component Name ) ĊĠĠĠ Ġ} Ċ }