![JAR search and dependency download from the Maven repository](/logo.png)
com.github.dakusui.jcunit.regex.Reference Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jcunit Show documentation
Show all versions of jcunit Show documentation
Automated combinatorial testing framework on top of JUnit
package com.github.dakusui.jcunit.regex;
import static com.github.dakusui.jcunit.core.utils.Checks.checknotnull;
import static java.lang.String.format;
class Reference implements Value {
final String key;
Reference(String key) {
this.key = checknotnull(key);
}
@Override
public int hashCode() {
return this.key.hashCode();
}
@Override
public boolean equals(Object another) {
return another instanceof Reference
&& this.key.equals(((Reference) another).key);
}
@Override
public String toString() {
return format("Reference:<%s>", this.key);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy