public void copyFrom(TermState other) {assert other instanceof OrdTermState : "can not copy from " + other.getClass().getName();this.ord = ((OrdTermState) other).ord;}
public override void CopyFrom(TermState other){Debug.Assert(other is OrdTermState, "can not copy from " + other.GetType().Name);this.Ord = ((OrdTermState)other).Ord;}