com.github.siwenyan.dish_parser.Trace Maven / Gradle / Ivy
package com.github.siwenyan.dish_parser;
public class Trace {
private String trace;
public Trace(String trace) {
this.trace = trace;
}
public String getTrace() {
return trace;
}
@Override
public String toString() {
return this.trace;
}
@Override
public boolean equals(Object o) {
if (null == o || !(o instanceof Trace) || this.trace == null) {
return false;
}
if (this.trace.equals(((Trace) o).trace)) {
return true;
} else {
return false;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy