public void fillIndexes(String... indexes) {
        if (indexes == null || indexes.length > MAX_IDX) {
            throw new IllegalArgumentException("Indexes are incorrect");
        }
        for (int i = 0; i < indexes.length; i++) {
            switch (i) {
                case IDX_1:
                    index1 = indexes[i].hashCode();
                    break;
                case IDX_2:
                    index2 = indexes[i].hashCode();
                    break;
                case IDX_3:
                    index3 = indexes[i].hashCode();
                    break;
                case IDX_4:
                    index4 = indexes[i].hashCode();
                    break;
                case IDX_5:
                    index5 = indexes[i].hashCode();
                    break;
                default:
                    index6 = indexes[i].hashCode();
                    break;
            }
        }
    }