IndexMappingBuffer tempBuffer = currentBuffer.clone(); for (int i = 0; i < size; ++i) if (!tempBuffer.tryMap(fromIndices.get(i), toIndices.get(permutation.newIndexOf(i)))) continue out; tempBuffer.addSign(permutation.antisymmetry()); IndexMappingBuffer tempBuffer = currentBuffer; for (int i = 0; i < size; ++i) if (!tempBuffer.tryMap(fromIndices.get(i), toIndices.get(i))) return currentBuffer = null; currentBuffer = null;