public boolean endsWith(Name suffix) {
        int i = len - 1;
        int j = suffix.len - 1;
        while (j >= 0 && i >= 0 &&
               table.names[index + i] == suffix.table.names[suffix.index + j]) {
            i--; j--;
        }
        return j < 0;
    }