src/org/tiefaces/components/websheet/utility/ConfigurationUtility.java
public static List<RowsMapping> findParentRowsMappingFromShiftMap(
			final String[] parts,
			final Map<String, ConfigRangeAttrs> shiftMap) {

		StringBuilder fullName = new StringBuilder();
		List<RowsMapping> rowsMappingList = new ArrayList<>();
		/**
		 * skip first one and last one. first one is line no. last one is it's
		 * self.
		 */
		for (int i = 1; i < parts.length - 1; i++) {
			String part = parts[i];
			if (fullName.length() == 0) {
				fullName.append(part);
			} else {
				fullName.append(":" + part);
			}
			if (fullName.length() > 0) {
				ConfigRangeAttrs rangeAttrs = shiftMap
						.get(fullName.toString());
				if (rangeAttrs != null) {
					rowsMappingList.add(rangeAttrs.getUnitRowsMapping());
				}
			}
		}
		return rowsMappingList;
	}
public static List<RowsMapping> findParentRowsMappingFromShiftMap(
			final String[] parts,
			final Map<String, ConfigRangeAttrs> shiftMap) {

		StringBuilder fullName = new StringBuilder();
		List<RowsMapping> rowsMappingList = new ArrayList<>();
		/**
		 * skip first one and last one. first one is line no. last one is it's
		 * self.
		 */
		for (int i = 1; i < parts.length - 1; i++) {
			String part = parts[i];
			if (fullName.length() == 0) {
				fullName.append(part);
			} else {
				fullName.append(":" + part);
			}
			if (fullName.length() > 0) {
				ConfigRangeAttrs rangeAttrs = shiftMap
						.get(fullName.toString());
				if (rangeAttrs != null) {
					rowsMappingList.add(rangeAttrs.getUnitRowsMapping());
				}
			}
		}
		return rowsMappingList;
	}
public static List < RowsMapping > findParentRowsMappingFromShiftMap ( final String [ ] parts , final Map < String , ConfigRangeAttrs > shiftMap ) { StringBuilder fullName = new StringBuilder ( ) ; List < RowsMapping > rowsMappingList = new ArrayList <> ( ) ; /**
		 * skip first one and last one. first one is line no. last one is it's
		 * self.
		 */ for ( int i = 1 ; i < parts . length - 1 ; i ++ ) { String part = parts [ i ] ; if ( fullName . length ( ) == 0 ) { fullName . append ( part ) ; } else { fullName . append ( ":" + part ) ; } if ( fullName . length ( ) > 0 ) { ConfigRangeAttrs rangeAttrs = shiftMap . get ( fullName . toString ( ) ) ; if ( rangeAttrs != null ) { rowsMappingList . add ( rangeAttrs . getUnitRowsMapping ( ) ) ; } } } return rowsMappingList ; }
Find parent rows mapping from shift map.

@param parts
the parts
@param shiftMap
the shift map
@return the list
Find parent rows mapping from shift map .