Buffer function ( int arg0 ) { if ( arg0 < 0 || arg0 > limit ) { throw new IllegalArgumentException ( ) ; } position = arg0 ; if ( ( mark != UNSET_MARK ) && ( mark > position ) ) { mark = UNSET_MARK ; } return this ; }
sets the position of this buffer . if the mark is set and it is greater than the new position , then it is cleared . concode_field_sep int UNSET_MARK concode_elem_sep int limit concode_elem_sep int position concode_elem_sep int mark concode_elem_sep int capacity concode_field_sep boolean isReadOnly concode_elem_sep Buffer rewind concode_elem_sep boolean hasRemaining concode_elem_sep Buffer clear concode_elem_sep int limit concode_elem_sep Buffer limit concode_elem_sep Buffer reset concode_elem_sep Buffer flip concode_elem_sep Buffer mark concode_elem_sep int remaining concode_elem_sep int capacity