boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; GraphEdge graphEdge = (GraphEdge)o; if (myType != graphEdge.myType) return false; if (!Objects.equals(myUpNodeIndex, graphEdge.myUpNodeIndex)) return false; if (!Objects.equals(myDownNodeIndex, graphEdge.myDownNodeIndex)) return false; if (!Objects.equals(myTargetId, graphEdge.myTargetId)) return false; return true; }