boolean addNotCrossLexeme(Lexeme lexeme){
		if(this.isEmpty()){
			this.addLexeme(lexeme);
			this.pathBegin = lexeme.getBegin();
			this.pathEnd = lexeme.getBegin() + lexeme.getLength();
			this.payloadLength += lexeme.getLength();
			return true;
			
		}else if(this.checkCross(lexeme)){
			return  false;
			
		}else{
			this.addLexeme(lexeme);
			this.payloadLength += lexeme.getLength();
			Lexeme head = this.peekFirst();
			this.pathBegin = head.getBegin();
			Lexeme tail = this.peekLast();
			this.pathEnd = tail.getBegin() + tail.getLength();
			return true;
			
		}
	}
boolean addNotCrossLexeme(Lexeme lexeme){
		if(this.isEmpty()){
			this.addLexeme(lexeme);
			this.pathBegin = lexeme.getBegin();
			this.pathEnd = lexeme.getBegin() + lexeme.getLength();
			this.payloadLength += lexeme.getLength();
			return true;
			
		}else if(this.checkCross(lexeme)){
			return  false;
			
		}else{
			this.addLexeme(lexeme);
			this.payloadLength += lexeme.getLength();
			Lexeme head = this.peekFirst();
			this.pathBegin = head.getBegin();
			Lexeme tail = this.peekLast();
			this.pathEnd = tail.getBegin() + tail.getLength();
			return true;
			
		}
	}
boolean addNotCrossLexeme ( Lexeme lexeme ) { if ( this . isEmpty ( ) ) { this . addLexeme ( lexeme ) ; this . pathBegin = lexeme . getBegin ( ) ; this . pathEnd = lexeme . getBegin ( ) + lexeme . getLength ( ) ; this . payloadLength += lexeme . getLength ( ) ; return true ; } else if ( this . checkCross ( lexeme ) ) { return false ; } else { this . addLexeme ( lexeme ) ; this . payloadLength += lexeme . getLength ( ) ; Lexeme head = this . peekFirst ( ) ; this . pathBegin = head . getBegin ( ) ; Lexeme tail = this . peekLast ( ) ; this . pathEnd = tail . getBegin ( ) + tail . getLength ( ) ; return true ; } }
向LexemePath追加不相交的Lexeme
@param lexeme
@return
向LexemePath追加不相交的Lexeme