public int setPos ( final int pos ) { final int oldpos = super . pos ; int apos = pos ; if ( pos > super . count ) { apos = super . count ; } else if ( pos < 0 ) { apos = 0 ; } super . pos = apos ; return oldpos ; }
Set the current position in the stream .