src/main/java/org/wltea/analyzer/dic/DictSegment.java
private void migrate(DictSegment[] segmentArray , Map<Character , DictSegment> segmentMap){
		for(DictSegment segment : segmentArray){
			if(segment != null){
				segmentMap.put(segment.nodeChar, segment);
			}
		}
	}
private void migrate(DictSegment[] segmentArray , Map<Character , DictSegment> segmentMap){
		for(DictSegment segment : segmentArray){
			if(segment != null){
				segmentMap.put(segment.nodeChar, segment);
			}
		}
	}
private void migrate ( DictSegment [ ] segmentArray , Map < Character , DictSegment > segmentMap ) { for ( DictSegment segment : segmentArray ) { if ( segment != null ) { segmentMap . put ( segment . nodeChar , segment ) ; } } }
将数组中的segment迁移到Map中
@param segmentArray
将数组中的segment迁移到Map中