protected void addToCache ( K canonicalKey , R row ) { assert ObjectUtils . equals ( canonicalize ( row . getKey ( ) ) , canonicalKey ) ; rowCache . get ( ) . put ( canonicalKey , row ) ; }
Adds a single object to the cache .