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

com.cisco.trex.stateless.model.StreamVM Maven / Gradle / Ivy

There is a newer version: 1.69
Show newest version
package com.cisco.trex.stateless.model;

import com.cisco.trex.stateless.model.vm.VMInstruction;
import java.util.List;
import java.util.Objects;

public class StreamVM {
  private String split_by_var;
  private List instructions;

  public StreamVM(String split_by_var, List instructions) {
    this.split_by_var = split_by_var;
    this.instructions = instructions;
  }

  public String getSplit_by_var() {
    return split_by_var;
  }

  public List getInstructions() {
    return instructions;
  }

  @Override
  public boolean equals(Object obj) {
    if (this == obj) {
      return true;
    }

    if (obj == null) {
      return false;
    }

    if (!(obj instanceof StreamVM)) {
      return false;
    }

    StreamVM rhs = (StreamVM) obj;

    return Objects.equals(this.split_by_var, rhs.split_by_var)
        && Objects.equals(this.instructions, rhs.instructions);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy