public TYPE_1 METHOD_1 ( int position ) { if ( position > ( nodes ) ) return null ; if ( position == 1 ) return start ; TYPE_1 query = start ; for ( int i = 0 ; i < ( position - 1 ) ; i ++ ) { query = query . METHOD_2 ( ) ; } return query ; }

private TYPE_1 METHOD_1 ( int position ) { if ( position <= 0 ) return null ; if ( position > ( nodes ) ) return null ; if ( position == 1 ) return start ; TYPE_1 query = start ; for ( int i = 0 ; i < ( position - 1 ) ; i ++ ) { query = query . METHOD_2 ( ) ; } return query ; }
