All Downloads are FREE. Search and download functionalities are using the official Maven repository.

prompto.debug.response.GetVariableDebugResponse Maven / Gradle / Ivy

The newest version!
package prompto.debug.response;

import java.util.Objects;

import prompto.debug.variable.FatVariable;
import prompto.debug.variable.IVariable;

public class GetVariableDebugResponse implements IDebugResponse {

	FatVariable variable;
	
	public GetVariableDebugResponse() {
	}

	public GetVariableDebugResponse(IVariable variable) {
		this.variable = new FatVariable(variable);
	}
	
	public FatVariable getVariable() {
		return variable;
	}
	
	public void setVariable(FatVariable variable) {
		this.variable = variable;
	}
	
	@Override
	public int hashCode() {
		return Objects.hash(variable);
	}

	@Override
	public boolean equals(Object other) {
		return this == other || (other instanceof GetVariableDebugResponse && ((GetVariableDebugResponse)other).equals(this));
	}
	
	public boolean equals(GetVariableDebugResponse other) {
		return Objects.equals(variable, other.variable);
	}


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy