Added timing to CDR3/CDR1 matching
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import java.time.Duration;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@@ -6,12 +7,15 @@ public class MatchingResult {
|
||||
private List<String> headers;
|
||||
private List<List<String>> allResults;
|
||||
private Map<Integer, Integer> matchMap;
|
||||
private Duration time;
|
||||
|
||||
public MatchingResult(List<String> comments, List<String> headers, List<List<String>> allResults, Map<Integer, Integer>matchMap){
|
||||
public MatchingResult(List<String> comments, List<String> headers, List<List<String>> allResults, Map<Integer, Integer>matchMap, Duration time){
|
||||
this.comments = comments;
|
||||
this.headers = headers;
|
||||
this.allResults = allResults;
|
||||
this.matchMap = matchMap;
|
||||
this.time = time;
|
||||
|
||||
}
|
||||
|
||||
public List<String> getComments() {
|
||||
@@ -29,4 +33,8 @@ public class MatchingResult {
|
||||
public Map<Integer, Integer> getMatchMap() {
|
||||
return matchMap;
|
||||
}
|
||||
|
||||
public Duration getTime() {
|
||||
return time;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user