package Ġcom . ag abo ard i . par ch int as ca . news . domain . filter Ċ Ċ class ĠNews Filter Factory Ġ{ ĊĠĠĠ Ġprivate Ġval Ġm Filters Ġ= ĠHashMap < News Filter Type , ĠNews Filter >() ĊĊĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠĠĠ Ġm Filters [ News Filter Type . FILTER _ ALL ] Ġ= ĠNews Filter All () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġcreate ( filter Type : ĠNews Filter Type ?): ĠNews Filter ? Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġm Filters [ filter Type ] ĊĠĠĠ Ġ} Ċ }