eu.xenit.apix.data.Path Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apix-interface Show documentation
Show all versions of apix-interface Show documentation
Xenit API-X Java interface
package eu.xenit.apix.data;
/**
* Represents a path to a node. Has a string value.
*/
public class Path {
private String value;
public Path(String value) {
this.value = value;
}
@Override
public String toString() {
return value;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Path path = (Path) o;
return value != null ? value.equals(path.value) : path.value == null;
}
@Override
public int hashCode() {
return value != null ? value.hashCode() : 0;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy