public int METHOD_1 ( TYPE_1 key ) { if ( ( ! ( list . METHOD_2 ( key ) ) ) || ( ( list . get ( key ) ) == null ) ) { return 0 ; } return list . get ( key ) . size ( ) ; }

public int METHOD_1 ( TYPE_1 key ) { if ( ! ( list . METHOD_2 ( key ) ) ) { return 0 ; } if ( ( ( list . get ( key ) ) == null ) || ( ( list . get ( key ) . size ( ) ) == 0 ) ) { list . remove ( key ) ; return 0 ; } return list . get ( key ) . size ( ) ; }
