ListNode function ( int arg0 ) { if ( arg0 < 1 ) { return null ; } else if ( arg0 == 1 ) { return this ; } else if ( next == null ) { return null ; } else { return next . ptrTo ( arg0 - 1 ) ; } }
ptrto returns a reference to the node at the given position . if position the number of nodes in the list , returns null . assumes the list is acyclic . concode_field_sep ListNode next concode_elem_sep Keyable item concode_field_sep placeholderType placeHolder