public Array getArray(String name) {
        Array a = arrayMap.get(name);
        if (a == null) {
            validateArray(name);
            a = new Array(configDefinition, name);
            arrayMap.put(name, a);
        }
        return a;
    }
@Test
    public void require_that_arrays_can_be_indexed_simple_values() {
        ConfigPayloadBuilder builder = new ConfigPayloadBuilder();
        ConfigPayloadBuilder.Array array = builder.getArray("foo");
        array.set(3, "bar");
        array.set(2, "baz");
        array.set(6, "bim");
        array.set(4, "bum");

        Cursor root = createSlime(builder);
        Cursor a = root.field("foo");
        assertEquals("bar", a.entry(0).asString());
        assertEquals("baz", a.entry(1).asString());
        assertEquals("bim", a.entry(2).asString());
        assertEquals("bum", a.entry(3).asString());
    }