src/sap.ui.core/src/sap/ui/model/analytics/odata4analytics.js
function(oSchema, sQTypeName) {
			var aEntitySet = [];

			for (var i = -1, oEntityContainer; (oEntityContainer = oSchema.entityContainer[++i]) !== undefined;) {
				for (var j = -1, oEntitySet; (oEntitySet = oEntityContainer.entitySet[++j]) !== undefined;) {
					if (oEntitySet.entityType == sQTypeName) {
						aEntitySet.push([ oEntityContainer, oEntitySet ]);
					}
				}
			}

			return aEntitySet;
		}
function(oSchema, sQTypeName) {
			var aEntitySet = [];

			for (var i = -1, oEntityContainer; (oEntityContainer = oSchema.entityContainer[++i]) !== undefined;) {
				for (var j = -1, oEntitySet; (oEntitySet = oEntityContainer.entitySet[++j]) !== undefined;) {
					if (oEntitySet.entityType == sQTypeName) {
						aEntitySet.push([ oEntityContainer, oEntitySet ]);
					}
				}
			}

			return aEntitySet;
		}
function ( oSchema , sQTypeName ) { var aEntitySet = [ ] ; for ( var i = - 1 , oEntityContainer ; ( oEntityContainer = oSchema . entityContainer [ ++ i ] ) !== undefined ; ) { for ( var j = - 1 , oEntitySet ; ( oEntitySet = oEntityContainer . entitySet [ ++ j ] ) !== undefined ; ) { if ( oEntitySet . entityType == sQTypeName ) { aEntitySet . push ( [ oEntityContainer , oEntitySet ] ) ; } } } return aEntitySet ; }
Private methods
 
Find entity sets of a given type

@private
Private methods Find entity sets of a given type