iTextSharp.text.pdf.hyphenation.HyphenationTree.Hstrcmp C# (CSharp) Метод

Hstrcmp() защищенный Метод

protected Hstrcmp ( char s, int si, char t, int ti ) : int
s char
si int
t char
ti int
Результат int
        protected int Hstrcmp(char[] s, int si, char[] t, int ti)
        {
            for (; s[si] == t[ti]; si++, ti++) {
                if (s[si] == 0) {
                    return 0;
                }
            }
            if (t[ti] == 0) {
                return 0;
            }
            return s[si] - t[ti];
        }