public void replace ( int position , TYPE_1 content ) { if ( ( isEmpty ( ) ) && ( position == 1 ) ) { VAR_1 = new TYPE_2 ( null , null , content ) ; VAR_2 = VAR_1 ; } else if ( position <= ( size ( ) ) ) { METHOD_1 ( position ) ; VAR_1 . METHOD_2 ( content ) ; } else { throw new TYPE_3 ( STRING_1 ) ; } }

public void set ( int position , TYPE_1 content ) { if ( ( isEmpty ( ) ) && ( position == 1 ) ) { VAR_1 = new TYPE_2 ( null , null , content ) ; VAR_2 = VAR_1 ; } else if ( position <= ( size ( ) ) ) { METHOD_1 ( position ) ; VAR_1 . METHOD_2 ( content ) ; } else { throw new TYPE_3 ( STRING_1 ) ; } }
