question: public SegmentTemplateParameterContext initSegment ( SegmentUUID uuid ) { if ( ! segments . containsKey ( uuid ) ) { int segmNum = segments . size ( ) ; doAddParameter ( uuid , SegmentContextParameters . UUID , uuid . getUuid ( ) ) ; doAddParameter ( uuid , SegmentContextParameters . NUM , String . valueOf ( segmNum ) ) ; } return this ; }
target:  Inits a segment parameter defined by the given UUID. Defines default parameters (such as Segment UUID and number). The method must be called for each segment before adding another parameters.