private Stat getStat ( String kind ) { Stat stat = this . stats . get ( kind ) ; if ( stat == null ) { stat = new Stat ( ) ; this . stats . put ( kind , stat ) ; } return stat ; }
We re just tracking statistics so we don t really need to worry about these stepping on each other ; if there s a hit or miss lost no big deal .