src/main/java/com/xceptance/neodymium/util/YamlProperties.java
/**
     * Handle lists
     *
     * @param list
     *            the list to deal with
     * @param state
     *            the current state
     */
Handle lists
@param list
the list to deal with
@param state
the current state
Handle lists @param list the list to deal with @param state the current state
@SuppressWarnings("unchecked")
    private void list(final List<Object> list, final Deque<String> state)
    {
        for (int i = 0; i < list.size(); i++)
        {
            final Object entry = list.get(i);
            state.push(String.valueOf(i));
            if (entry instanceof Map)
            {
                map((Map<String, Object>) entry, state);
            }
            else if (entry instanceof List)
            {
                list((List<Object>) entry, state);
            }
            else
            {
                handleTypes(entry, state);
            }
            state.pop();
        }
    }
@ SuppressWarnings ( "unchecked" ) private void list ( final List < Object > list , final Deque < String > state ) { for ( int i = 0 ; i < list . size ( ) ; i ++ ) { final Object entry = list . get ( i ) ; state . push ( String . valueOf ( i ) ) ; if ( entry instanceof Map ) { map ( ( Map < String , Object > ) entry , state ) ; } else if ( entry instanceof List ) { list ( ( List < Object > ) entry , state ) ; } else { handleTypes ( entry , state ) ; } state . pop ( ) ; } }
Handle lists
 @param list
            the list to deal with
 @param state
            the current state
Handle lists @param list the list to deal with @param state the current state