Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Creative commons Attribution-NonCommercial license. http://creativecommons.org/licenses/by-nc/2.5/au/deed.en_GB NO WARRANTY IS GIVEN OR IMPLIED, USE AT YOUR OWN RISK.
 
 package base;
 
public class ArrayQueryResult implements QueryResult {
	private String[] values;
	public ArrayQueryResult(String[] values) {
		this. = values;
	}
	public ArrayQueryResult() {
	}
	public String toString() {
		return toJson();
	}
	public String toJson() {
		String result = "[";
		for(int j = 0; j < .j++) {
			if(j != 0) {
				result = result + ",";
			}
			result = result + "\""+[j]+"\"";
		}
		result = result + "]";
		return result;
	}
	public String[] getValues() {
		return ;
	}
	public void setValues(String[] values) {
		this. = values;
	}
New to GrepCode? Check out our FAQ X