int i;
int[] hashes = new int[varsFrom.length];
for (i = 0; i < varsFrom.length; ++i)
if ((hashes[i] = varsFrom[i].hashCode()) != varsTo[i].hashCode())
return IndexMappingProvider.Util.EMPTY_PROVIDER;
PrecalculatedStretches stretches = new PrecalculatedStretches(hashes);
for (Stretch stretch : stretches)
if (stretch.length == 1)
if (!IndexMappings.mappingExists(varsFrom[stretch.from], varsTo[stretch.from], allowDiffStates))
return IndexMappingProvider.Util.EMPTY_PROVIDER;
STRETCHES: