// Resource location is never null
final String rl = ns.getResourceLocation();
// Which bucket are we mapped to?
final EquivalenceLookup bucket = equivs.forResourceLocation(rl);
// This parameter's namespace is not mapped to the current eqs
if (bucket == null) {
jArray[i] = null;
parameterIndices[i] = tpIdx.get(param);
continue;
}
// Index the parameter i to its respective bucket
jArray[i] = bucket;
// Index the parameter i to its parameter index
parameterIndices[i] = tpIdx.get(param);
}
// Second pass
for (int i = 0; i < numParams; i++) {
EquivalenceLookup bucket = jArray[i];
final int pIndex = parameterIndices[i];
// Does this parameter have a bucket?
if (bucket == null) {
globalIndex.put(pIndex, gi);
// no equivalence
gi++;
continue;
}
final TableParameter param = params[i];
final String value = param.getValue();
final SkinnyUUID lookup = bucket.lookup(value);
// Null lookup means no equivalence
if (lookup == null) {
// Parameter index gets the current gi
globalIndex.put(pIndex, gi);