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 ByteArrayQueryResult implements QueryResult {
	private byte[] values;
	public ByteArrayQueryResult(byte[] values) {
		this. = values;
	}
	}
	public String toString() {
		return toJson();
	}
	public String toJson() {
		String result = "[";
		for(int j = 0; j < .j++) {
			if(j != 0) {
				result = result + ",";
			}
			result = result + ([j] & 0xFF);
		}
		result = result + "]";
		return result;
	}
	public byte[] getBytes() {
		return ;
	}
	public void setBytes(byte[] values) {
		this. = values;
	}
New to GrepCode? Check out our FAQ X