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

org.duelengine.duel.codedom.CodeCommentStatement Maven / Gradle / Ivy

There is a newer version: 0.9.7
Show newest version
package org.duelengine.duel.codedom;

public class CodeCommentStatement extends CodeStatement {

	private String value;

	public CodeCommentStatement() {
	}

	public CodeCommentStatement(String value) {
		this.value = value;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	@Override
	public boolean equals(Object arg) {
		if (!(arg instanceof CodeCommentStatement)) {
			// includes null
			return false;
		}

		CodeCommentStatement that = (CodeCommentStatement)arg;
		return (this.value == null ? that.value == null : this.value.equals(that.value));
	}

	@Override
	public int hashCode() {
		return (value == null) ? 0 : value.hashCode();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy