protected void copy_from(SnowballProgram other) { current = other.current; cursor = other.cursor; limit = other.limit; limit_backward = other.limit_backward; bra = other.bra; ket = other.ket; }
public Among(string s, int substring_i, int result, string methodname, SnowballProgram programclass) { this.s = s.ToCharArray(); this.substring_i = substring_i; this.result = result; try { this.method = null; // programclass.getDeclaredMethod(methodname); } catch (Exception e) { throw; } }