void (int upNodeIndex, int notLoadId) { for (int edgeIndex = myNodeToEdgeIndex[upNodeIndex]; edgeIndex < myNodeToEdgeIndex[upNodeIndex + 1]; edgeIndex++) { if (myLongEdges[edgeIndex] == -1) { myLongEdges[edgeIndex] = notLoadId; return; } } throw new IllegalStateException("Not found underdone edge to not load commit for node: " + upNodeIndex); }