question: public void removeSegment ( int shapeIndex , int segmentIndex ) { List < WKTSegmentList > shapeList = segmentList . get ( shapeIndex ) ; if ( ( segmentIndex >= 0 ) && ( segmentIndex < shapeList . size ( ) ) ) { shapeList . remove ( segmentIndex ) ; } }
target:  Removes the segment at the specified index.