void function ( ) { PaintMap loc0 = new PaintMap ( ) ; PaintMap loc1 = ( PaintMap ) loc0 . clone ( ) ; assertEquals ( loc0 , loc1 ) ; loc0 . put ( "srini_string" , Color . red ) ; loc0 . put ( "srini_string" , new GradientPaint ( 1.0f , 2.0f , Color . green , 3.0f , 4.0f , Color . yellow ) ) ; loc1 = ( PaintMap ) loc0 . clone ( ) ; assertEquals ( loc0 , loc1 ) ; }
some checks for cloning . concode_field_sep PlaceHolder placeHolder concode_field_sep void testSerialization2 concode_elem_sep void testKeysOfDifferentClasses concode_elem_sep void testGetPaint concode_elem_sep void testSerialization1 concode_elem_sep void testPut concode_elem_sep void testEquals