public static int getLength(final List<TagAndLength> pList) {
		int ret = 0;
		if (pList != null) {
			for (TagAndLength tl : pList) {
				ret += tl.getLength();
			}
		}
		return ret;
	}
public static int getLength ( final List < TagAndLength > pList ) { int ret = 0 ; if ( pList != null ) { for ( TagAndLength tl : pList ) { ret += tl . getLength ( ) ; } } return ret ; }
Method used to get length of all Tags

@param pList
tag length list
@return the sum of tag length