TYPE_1 METHOD_1 ( int id ) { TYPE_1 i = null ; for ( int n = 0 ; n < ( VAR_1 . size ( ) ) ; n ++ ) { int VAR_2 = VAR_1 . METHOD_2 ( n ) . getId ( ) ; if ( VAR_2 == id ) { i = VAR_1 . METHOD_2 ( n ) ; } } return i ; }

TYPE_1 METHOD_1 ( int id , int type ) { for ( int n = 0 ; n < ( VAR_1 . size ( ) ) ; n ++ ) { if ( ( ( VAR_1 . METHOD_2 ( n ) . getId ( ) ) == id ) && ( ( VAR_1 . METHOD_2 ( n ) . getType ( ) ) == type ) ) { return VAR_1 . METHOD_2 ( n ) ; } } return VAR_1 . METHOD_2 ( 0 ) ; }
