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

annotations.com.cognite.client.AutoValue_DataPoints_FlatMapIterator Maven / Gradle / Ivy

There is a newer version: 2.3.3
Show newest version
package com.cognite.client;

import java.util.Iterator;
import java.util.List;
import javax.annotation.processing.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_DataPoints_FlatMapIterator extends DataPoints.FlatMapIterator {

  private final Iterator>> inputIterator;

  private AutoValue_DataPoints_FlatMapIterator(
      Iterator>> inputIterator) {
    this.inputIterator = inputIterator;
  }

  @Override
  Iterator>> getInputIterator() {
    return inputIterator;
  }

  @Override
  public String toString() {
    return "FlatMapIterator{"
        + "inputIterator=" + inputIterator
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof DataPoints.FlatMapIterator) {
      DataPoints.FlatMapIterator that = (DataPoints.FlatMapIterator) o;
      return this.inputIterator.equals(that.getInputIterator());
    }
    return false;
  }

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

  static final class Builder extends DataPoints.FlatMapIterator.Builder {
    private Iterator>> inputIterator;
    Builder() {
    }
    @Override
    DataPoints.FlatMapIterator.Builder setInputIterator(Iterator>> inputIterator) {
      if (inputIterator == null) {
        throw new NullPointerException("Null inputIterator");
      }
      this.inputIterator = inputIterator;
      return this;
    }
    @Override
    DataPoints.FlatMapIterator build() {
      if (this.inputIterator == null) {
        String missing = " inputIterator";
        throw new IllegalStateException("Missing required properties:" + missing);
      }
      return new AutoValue_DataPoints_FlatMapIterator(
          this.inputIterator);
    }
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy