public static java.lang.String METHOD_1 ( java.util.ArrayList < TYPE_1 > array , java.lang.String type , char key , int index , java.lang.String output ) { while ( ( index < ( array . size ( ) ) ) && ( ( array . get ( index ) . METHOD_2 ( type ) ) == key ) ) { output = ( output + STRING_1 ) + index ; index ++ ; } return output ; }

public static java.lang.String METHOD_1 ( java.util.ArrayList < TYPE_1 > array , java.lang.String type , char key , int index , java.lang.String output ) { index ++ ; while ( index < ( array . size ( ) ) ) { if ( ( array . get ( index ) . METHOD_2 ( type ) ) == key ) output = ( output + STRING_1 ) + index ; index ++ ; } return output ; }
