code: @Override
    public int getEndNode(int arc) {
      final int nodeOffset = getDestinationNodeOffset(arc);
      assert nodeOffset != 0 : "Can't follow a terminal arc: " + arc;
      assert nodeOffset < arcs.length : "Node out of bounds.";
      return nodeOffset;
    }
docs: {@inheritDoc}