package Ġnl . j ur aji . reactive . albums . util Ċ Ċ import Ġjava . util . concurrent . Thread Factory Ċ import Ġjava . util . concurrent . atomic . Atomic Integer Ċ Ċ class ĠNumber ed Thread Factory ( ĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġbase Name : ĠString , Ċ ) Ġ: ĠThread Factory Ġ{ ĊĠĠĠ Ġprivate Ġval Ġserial Ġ= ĠAtomicInteger ( 0 ) ĊĊĠĠĠ Ġoverride Ġfun Ġnew Thread ( r : ĠRunnable ): ĠThread Ġ= ĠThread ( r , Ġ"$ base Name -${ serial . get And Increment () }") Ċ } Ċ