public Arc<T> copyFrom(Arc<T> other) {label = other.label();target = other.target();flags = other.flags();output = other.output();nextFinalOutput = other.nextFinalOutput();nextArc = other.nextArc();nodeFlags = other.nodeFlags();bytesPerArc = other.bytesPerArc();if (bytesPerArc() != 0) {posArcsStart = other.posArcsStart();arcIdx = other.arcIdx();numArcs = other.numArcs();if (nodeFlags() == ARCS_FOR_DIRECT_ADDRESSING) {bitTable = other.bitTable() == null ? null : other.bitTable().copy();firstLabel = other.firstLabel();}}return this;}
public Arc<T> CopyFrom(Arc<T> other){Node = other.Node;Label = other.Label;Target = other.Target;Flags = other.Flags;Output = other.Output;NextFinalOutput = other.Output;NextFinalOutput = other.NextFinalOutput;NextArc = other.NextArc;BytesPerArc = other.BytesPerArc;if (BytesPerArc != 0){PosArcsStart = other.PosArcsStart;ArcIdx = other.ArcIdx;NumArcs = other.NumArcs;}return this;}