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

com.arextest.diff.model.log.Trace Maven / Gradle / Ivy

There is a newer version: 0.2.15
Show newest version
package com.arextest.diff.model.log;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Trace implements Serializable, Cloneable {

  private List> currentTraceLeft;
  private List> currentTraceRight;

  public Trace() {
  }

  public Trace(List> currentTraceLeft, List> currentTraceRight) {
    this.currentTraceLeft = new ArrayList<>(currentTraceLeft);
    this.currentTraceRight = new ArrayList<>(currentTraceRight);
  }

  public List> getCurrentTraceLeft() {
    return currentTraceLeft;
  }

  public void setCurrentTraceLeft(List> currentTraceLeft) {
    this.currentTraceLeft = currentTraceLeft;
  }

  public List> getCurrentTraceRight() {
    return currentTraceRight;
  }

  public void setCurrentTraceRight(List> currentTraceRight) {
    this.currentTraceRight = currentTraceRight;
  }

  @Override
  protected Object clone() throws CloneNotSupportedException {
    Trace trace = ((Trace) super.clone());
    trace.currentTraceLeft = this.currentTraceLeft;
    return super.clone();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy