com.gempukku.libgdx.graph.data.NodeConnector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libgdx-graph Show documentation
Show all versions of libgdx-graph Show documentation
libGDX-graph runtime library for pipeline rendering
The newest version!
package com.gempukku.libgdx.graph.data;
public class NodeConnector {
private final String nodeId;
private final String fieldId;
public NodeConnector(String nodeId, String fieldId) {
this.nodeId = nodeId;
this.fieldId = fieldId;
}
public String getNodeId() {
return nodeId;
}
public String getFieldId() {
return fieldId;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
NodeConnector that = (NodeConnector) o;
if (!nodeId.equals(that.nodeId)) return false;
return fieldId.equals(that.fieldId);
}
@Override
public int hashCode() {
int result = nodeId.hashCode();
result = 31 * result + fieldId.hashCode();
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy