hydra.langs.java.syntax.ElementValueArrayInitializer Maven / Gradle / Ivy
package hydra.langs.java.syntax;
import java.io.Serializable;
public class ElementValueArrayInitializer implements Serializable {
public static final hydra.core.Name NAME = new hydra.core.Name("hydra/langs/java/syntax.ElementValueArrayInitializer");
public final java.util.List value;
public ElementValueArrayInitializer (java.util.List value) {
this.value = value;
}
@Override
public boolean equals(Object other) {
if (!(other instanceof ElementValueArrayInitializer)) {
return false;
}
ElementValueArrayInitializer o = (ElementValueArrayInitializer) (other);
return value.equals(o.value);
}
@Override
public int hashCode() {
return 2 * value.hashCode();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy