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

com.google.gerrit.entities.AutoValue_ConfiguredMimeTypes Maven / Gradle / Ivy

There is a newer version: 3.10.0-rc7
Show newest version
package com.google.gerrit.entities;

import com.google.common.collect.ImmutableList;
import javax.annotation.processing.Generated;

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

  private final ImmutableList matchers;

  AutoValue_ConfiguredMimeTypes(
      ImmutableList matchers) {
    if (matchers == null) {
      throw new NullPointerException("Null matchers");
    }
    this.matchers = matchers;
  }

  @Override
  public ImmutableList matchers() {
    return matchers;
  }

  @Override
  public String toString() {
    return "ConfiguredMimeTypes{"
        + "matchers=" + matchers
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof ConfiguredMimeTypes) {
      ConfiguredMimeTypes that = (ConfiguredMimeTypes) o;
      return this.matchers.equals(that.matchers());
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h$ = 1;
    h$ *= 1000003;
    h$ ^= matchers.hashCode();
    return h$;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy