public static int [ ] getConfigArr ( VarSet vars , VarConfig config ) { IntArrayList a = new IntArrayList ( config . getVars ( ) . calcNumConfigs ( ) ) ; IntIter iter = getConfigIter ( vars , config ) ; while ( iter . hasNext ( ) ) { a . add ( iter . next ( ) ) ; } return a . toNativeArray ( ) ; }
Gets an array version of the configuration iterator .