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

hydra.langs.scala.meta.Data_Xml Maven / Gradle / Ivy

package hydra.langs.scala.meta;

import java.io.Serializable;

public class Data_Xml implements Serializable {
  public static final hydra.core.Name NAME = new hydra.core.Name("hydra/langs/scala/meta.Data.Xml");
  
  public final java.util.List parts;
  
  public final java.util.List args;
  
  public Data_Xml (java.util.List parts, java.util.List args) {
    this.parts = parts;
    this.args = args;
  }
  
  @Override
  public boolean equals(Object other) {
    if (!(other instanceof Data_Xml)) {
      return false;
    }
    Data_Xml o = (Data_Xml) (other);
    return parts.equals(o.parts) && args.equals(o.args);
  }
  
  @Override
  public int hashCode() {
    return 2 * parts.hashCode() + 3 * args.hashCode();
  }
  
  public Data_Xml withParts(java.util.List parts) {
    return new Data_Xml(parts, args);
  }
  
  public Data_Xml withArgs(java.util.List args) {
    return new Data_Xml(parts, args);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy