com.arextest.diff.compare.feature.IndexSelector Maven / Gradle / Ivy
package com.arextest.diff.compare.feature;
import com.arextest.diff.model.exception.FindErrorException;
import com.fasterxml.jackson.databind.node.ArrayNode;
import java.util.Set;
public interface IndexSelector {
int findCorrespondLeftIndex(int curRightIndex, Set leftComparedIndex,
ArrayNode obj1Array, ArrayNode obj2Array) throws FindErrorException, Exception;
int findCorrespondRightIndex(int curLeftIndex, Set rightComparedIndex,
ArrayNode obj1Array, ArrayNode obj2Array) throws Exception;
String judgeLeftIndexStandard(int leftIndex);
String judgeRightIndexStandard(int rightIndex);
}