private void createDistributedSubRegion(List vmList,boolean firstCreationFlag){
  Iterator nodeIterator=vmList.iterator();
  while (nodeIterator.hasNext()) {
    VM vm=(VM)nodeIterator.next();
    vm.invoke(createSubRegion(firstCreationFlag,DISTRIBUTED_REGION));
  }
}

private void createDistributedSubRegion ( List vmList , boolean firstCreationFlag ) { Iterator nodeIterator = vmList . iterator ( ) ; while ( nodeIterator . hasNext ( ) ) { VM vm = ( VM ) nodeIterator . next ( ) ; vm . invoke ( createSubRegion ( firstCreationFlag , DISTRIBUTED_REGION ) ) ; } }
this function creates distributed subregion of parent region .
