archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java
public void setContainerConfigurationIndex(int newIndex) throws IndexOutOfBoundsException {
        if (newIndex < 0 || newIndex >= configList.size()) {
            throw new IndexOutOfBoundsException("Cannot change to the new index " + newIndex + " in the list of size " + configList.size());
        } else if (newIndex == configList.indexOf(containerConfiguration)) {
            // nothing to do
            return;
        }
        
        containerConfigurationChanged = true;
        configList.remove(containerConfiguration);
        configList.add(newIndex, containerConfiguration);
    }
public void setContainerConfigurationIndex(int newIndex) throws IndexOutOfBoundsException {
        if (newIndex < 0 || newIndex >= configList.size()) {
            throw new IndexOutOfBoundsException("Cannot change to the new index " + newIndex + " in the list of size " + configList.size());
        } else if (newIndex == configList.indexOf(containerConfiguration)) {
            // nothing to do
            return;
        }
        
        containerConfigurationChanged = true;
        configList.remove(containerConfiguration);
        configList.add(newIndex, containerConfiguration);
    }
public void setContainerConfigurationIndex ( int newIndex ) throws IndexOutOfBoundsException { if ( newIndex < 0 || newIndex >= configList . size ( ) ) { throw new IndexOutOfBoundsException ( "Cannot change to the new index " + newIndex + " in the list of size " + configList . size ( ) ) ; } else if ( newIndex == configList . indexOf ( containerConfiguration ) ) { // nothing to do return ; } containerConfigurationChanged = true ; configList . remove ( containerConfiguration ) ; configList . add ( newIndex , containerConfiguration ) ; }
Change the position of the <em>container configuration</em> to a new index.

@throws IndexOutOfBoundsException
Change the position of the <em > container configuration< / em > to a new index .