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 StringQueryResult implements QueryResult {
	private String string;
	public StringQueryResult(String string) {
		this. = string;
	}
	public String getString() {
		return ;
	}
	public void setString(String string) {
		this. = string;
	}
	public String toJson() {
		return "\"" + Json.escape() + "\"";
	}
New to GrepCode? Check out our FAQ X