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

net.spals.appbuilder.graph.model.AutoValue_PrintableVertex Maven / Gradle / Ivy

There is a newer version: 0.6.5
Show newest version

package net.spals.appbuilder.graph.model;

import javax.annotation.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 final class AutoValue_PrintableVertex extends PrintableVertex {

  private final IServiceGraphVertex delegate;
  private final String separator;

  AutoValue_PrintableVertex(
      IServiceGraphVertex delegate,
      String separator) {
    if (delegate == null) {
      throw new NullPointerException("Null delegate");
    }
    this.delegate = delegate;
    if (separator == null) {
      throw new NullPointerException("Null separator");
    }
    this.separator = separator;
  }

  @Override
  IServiceGraphVertex getDelegate() {
    return delegate;
  }

  @Override
  String getSeparator() {
    return separator;
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof PrintableVertex) {
      PrintableVertex that = (PrintableVertex) o;
      return (this.delegate.equals(that.getDelegate()))
           && (this.separator.equals(that.getSeparator()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h = 1;
    h *= 1000003;
    h ^= this.delegate.hashCode();
    h *= 1000003;
    h ^= this.separator.hashCode();
    return h;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy