Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sequences.concatenate(bestLeftContext.abstractRule.target, target); Does not exist #21

Open
jwest86 opened this issue May 2, 2017 · 1 comment

Comments

@jwest86
Copy link

jwest86 commented May 2, 2017

This function does not exist in the current build.
This is called within RuleQueryRequestHandler.java

@jwest86
Copy link
Author

jwest86 commented May 4, 2017

public static Sequence<IString> concatenate(Sequence<IString> sourceContext, Sequence<IString> source) {	
	
	List<IString> seqList =  new ArrayList<>();
	
	for(int i = 0; i < sourceContext.size(); i++){
		seqList.add(sourceContext.get(i));
	}
	
	for(int i = 0; i < source.size(); i++){
		seqList.add(source.get(i));
	}
	
	return new ArraySequence<IString>(seqList);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant