char (int index) { for (int n = 0; n < nameIds.length; n++) { if (n > 0) { if (index == 0) return '/'; index--; } int nameId = nameIds[n]; CharSequence name = nameByNameId(nameId); if (index < name.length()) { return name.charAt(index); } index -= name.length(); } throw new IndexOutOfBoundsException(); }