void (int mainNodeId, int additionId, GraphEdgeType edgeType) { if (edgeType.isNormalEdge()) { myEdges.putValue(mainNodeId, compressEdge(additionId, edgeType)); myEdges.putValue(additionId, compressEdge(mainNodeId, edgeType)); } else { myEdges.putValue(mainNodeId, compressEdge(additionId, edgeType)); } }