protected int nextShortcutId() { int nextSC = shortcutCount; shortcutCount++; if (shortcutCount < 0) throw new IllegalStateException("too many shortcuts. new shortcut id would be negative. " + toString()); shortcuts.ensureCapacity(((long) shortcutCount + 1) * shortcutEntryBytes); return nextSC + baseGraph.edgeCount; }
String toDetailsString() { return toString() + ", shortcuts:" + nf(shortcutCount) + ", nodesCH:(" + nodesCH.getCapacity() / Helper.MB + "MB)"; }
protected int nextShortcutId() { int nextSC = shortcutCount; shortcutCount++; if (shortcutCount < 0) throw new IllegalStateException("too many shortcuts. new shortcut id would be negative. " + toString()); shortcuts.ensureCapacity(((long) shortcutCount + 1) * shortcutEntryBytes); return nextSC + baseGraph.edgeCount; }
protected int nextShortcutId() { int nextSC = shortcutCount; shortcutCount++; if (shortcutCount < 0) throw new IllegalStateException("too many shortcuts. new shortcut id would be negative. " + toString()); shortcuts.ensureCapacity(((long) shortcutCount + 1) * shortcutEntryBytes); return nextSC + baseGraph.edgeCount; }
protected int nextShortcutId() { int nextSC = shortcutCount; shortcutCount++; if (shortcutCount < 0) throw new IllegalStateException("too many shortcuts. new shortcut id would be negative. " + toString()); shortcuts.ensureCapacity(((long) shortcutCount + 1) * shortcutEntryBytes); return nextSC + baseGraph.edgeCount; }
String toDetailsString() { return toString() + ", shortcuts:" + nf(shortcutCount) + ", nodesCH:(" + nodesCH.getCapacity() / Helper.MB + "MB)"; }
String toDetailsString() { return toString() + ", shortcuts:" + nf(shortcutCount) + ", nodesCH:(" + nodesCH.getCapacity() / Helper.MB + "MB)"; }
String toDetailsString() { return toString() + ", shortcuts:" + nf(shortcutCount) + ", nodesCH:(" + nodesCH.getCapacity() / Helper.MB + "MB)"; }